#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 | RTM |
マクロ定義 | |
#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) |
パラノイドログ出力マクロ。 |
|
値: rtcout.acquire(); \ rtcout.level(RtcLogStream::DEBUG) << rtcout.printf fmt << std::endl; \ rtcout.release() デバッグレベルのログ出力マクロ。ログレベルが ( DEBUG, TRACE, VERBOSE, PARANOID ) の場合にログ出力される。 |
|
値: rtcout.acquire(); \ rtcout.level(RtcLogStream::ERROR) << rtcout.printf fmt << std::endl; \ rtcout.release() エラーレベルのログ出力マクロ。ログレベルが ERROR, WARN, INFO, NORMAL, DEBUG, TRACE, VERBOSE, PARANOID の場合にログ出力される。 |
|
値: rtcout.acquire(); \ rtcout.level(RtcLogStream::INFO) << rtcout.printf fmt << std::endl; \ rtcout.release() インフォレベルのログ出力マクロ。ログレベルが ( INFO, NORMAL, DEBUG, TRACE, VERBOSE, PARANOID ) の場合にログ出力される。 |
|
値: rtcout.acquire(); \ rtcout.level(LV) << rtcout.printf fmt << std::endl; \ rtcout.release() ログレベルおよび出力フォーマット文字列を引数としてとる。 |
|
値: rtcout.acquire(); \ rtcout.level(RtcLogStream::NORMAL) << rtcout.printf fmt << std::endl; \ rtcout.release() ノーマルレベルのログ出力マクロ。ログレベルが ( NORMAL, DEBUG, TRACE, VERBOSE, PARANOID ) の場合にログ出力される。 |
|
値: rtcout.acquire(); \ rtcout.level(RtcLogStream::PARANOID) << rtcout.printf fmt << std::endl; \ rtcout.release() パラノイドレベルのログ出力マクロ。ログレベルが ( PARANOID ) の場合にログ出力される。 |
|
値: rtcout.acquire(); \ rtcout.level(RtcLogStream::TRACE) << rtcout.printf fmt << std::endl; \ rtcout.release() トレースレベルのログ出力マクロ。ログレベルが ( TRACE, VERBOSE, PARANOID ) の場合にログ出力される。 |
|
値: rtcout.acquire(); \ rtcout.level(RtcLogStream::VERBOSE) << rtcout.printf fmt << std::endl; \ rtcout.release() ベルボーズレベルのログ出力マクロ。ログレベルが ( VERBOSE, PARANOID ) の場合にログ出力される。 |
|
値: rtcout.acquire(); \ rtcout.level(RtcLogStream::WARN) << rtcout.printf fmt << std::endl; \ rtcout.release() ウォーニングレベルのログ出力マクロ。ログレベルが ( WARN, INFO, NORMAL, DEBUG, TRACE, VERBOSE, PARANOID ) の場合にログ出力される。 |