#include <rtm/RTC.h>
#include <iostream>
#include <fstream>
#include <stdio.h>
#include <stdarg.h>
#include <limits.h>
#include <time.h>
#include <errno.h>
#include <ace/Mutex.h>
#include <rtm/config_rtc.h>
ネームスペース | |
namespace | RTC |
構成 | |
class | RTC::sync_callback< _CharT, _Traits > |
sync_callback 抽象クラス [詳細] | |
class | RTC::basic_logbuf< _CharT, _Traits > |
ロガーバッファクラス [詳細] | |
class | RTC::basic_medlogbuf< _CharT, _Traits > |
仲介ロガーバッファクラス [詳細] | |
class | RTC::basic_dummybuf< _CharT, _Traits > |
ダミーバッファクラス [詳細] | |
class | RTC::basic_logstream< _CharT, _Traits > |
ロガーフォーマットクラス [詳細] | |
マクロ定義 | |
#define | RTC_LOG(LV, fmt) |
汎用ログ出力マクロ | |
#define | RTC_ERROR(fmt) |
エラーログ出力マクロ。 | |
#define | RTC_WARN(fmt) |
ワーニングログ出力マクロ。 | |
#define | RTC_INFO(fmt) |
インフォログ出力マクロ。 | |
#define | RTC_NORMAL(fmt) |
ノーマルログ出力マクロ。 | |
#define | RTC_DEBUG(fmt) |
デバッグログ出力マクロ。 | |
#define | RTC_TRACE(fmt) |
トレースログ出力マクロ。 | |
#define | RTC_VERBOSE(fmt) |
ベルボーズログ出力マクロ。 | |
#define | RTC_PARANOID(fmt) |
パラノイドログ出力マクロ。 | |
型定義 | |
typedef sync_callback< char > | RTC::SyncCallback |
typedef basic_logbuf < char > | RTC::Logbuf |
typedef basic_medlogbuf < char > | RTC::MedLogbuf |
typedef basic_logstream < char > | RTC::LogStream |
#define RTC_DEBUG | ( | fmt | ) |
値:
rtcout.acquire(); \ rtcout.level(LogStream::RTL_DEBUG) << rtcout.printf fmt << std::endl; \ rtcout.release()
デバッグレベルのログ出力マクロ。
ログレベルが ( DEBUG, TRACE, VERBOSE, PARANOID ) の場合にログ出力される。
#define RTC_ERROR | ( | fmt | ) |
値:
rtcout.acquire(); \ rtcout.level(LogStream::RTL_ERROR) << rtcout.printf fmt << std::endl; \ rtcout.release()
エラーレベルのログ出力マクロ。
ログレベルが ERROR, WARN, INFO, NORMAL, DEBUG, TRACE, VERBOSE, PARANOID の場合にログ出力される。
#define RTC_INFO | ( | fmt | ) |
値:
rtcout.acquire(); \ rtcout.level(LogStream::RTL_INFO) << rtcout.printf fmt << std::endl; \ rtcout.release()
インフォレベルのログ出力マクロ。
ログレベルが ( INFO, NORMAL, DEBUG, TRACE, VERBOSE, PARANOID ) の場合にログ出力される。
#define RTC_LOG | ( | LV, | |||
fmt | ) |
値:
rtcout.acquire(); \ rtcout.level(LV) << rtcout.printf fmt << std::endl; \ rtcout.release()
ログレベルおよび出力フォーマット文字列を引数としてとる。
#define RTC_NORMAL | ( | fmt | ) |
値:
rtcout.acquire(); \ rtcout.level(LogStream::RTL_NORMAL) << rtcout.printf fmt << std::endl; \ rtcout.release()
ノーマルレベルのログ出力マクロ。
ログレベルが ( NORMAL, DEBUG, TRACE, VERBOSE, PARANOID ) の場合にログ出力される。
#define RTC_PARANOID | ( | fmt | ) |
値:
rtcout.acquire(); \ rtcout.level(LogStream::RTL_PARANOID) << rtcout.printf fmt << std::endl; \ rtcout.release()
パラノイドレベルのログ出力マクロ。
ログレベルが ( PARANOID ) の場合にログ出力される。
#define RTC_TRACE | ( | fmt | ) |
値:
rtcout.acquire(); \ rtcout.level(LogStream::RTL_TRACE) << rtcout.printf fmt << std::endl; \ rtcout.release()
トレースレベルのログ出力マクロ。
ログレベルが ( TRACE, VERBOSE, PARANOID ) の場合にログ出力される。
#define RTC_VERBOSE | ( | fmt | ) |
値:
rtcout.acquire(); \ rtcout.level(LogStream::RTL_VERBOSE) << rtcout.printf fmt << std::endl; \ rtcout.release()
ベルボーズレベルのログ出力マクロ。
ログレベルが ( VERBOSE, PARANOID ) の場合にログ出力される。
#define RTC_WARN | ( | fmt | ) |
値:
rtcout.acquire(); \ rtcout.level(LogStream::RTL_WARN) << rtcout.printf fmt << std::endl; \ rtcout.release()
ワーニングレベルのログ出力マクロ。
ログレベルが ( WARN, INFO, NORMAL, DEBUG, TRACE, VERBOSE, PARANOID ) の場合にログ出力される。