メインページ | ネームスペース一覧 | クラス階層 | 構成 | ファイル一覧 | ネームスペースメンバ | 構成メンバ | ファイルメンバ

RtcSystemLogger.h

RT component logger class. [詳細]

#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)
 パラノイドログ出力マクロ。


説明

RT component logger class.

日付:
Date
2005/05/12 09:06:18
作者:
Noriaki Ando <n-ando@aist.go.jp>
Copyright (C) 2003-2005 Task-intelligence Research Group, Intelligent Systems Research Institute, National Institute of Advanced Industrial Science and Technology (AIST), Japan All rights reserved.

Id
RtcSystemLogger.h,v 1.1.1.1 2005/05/12 09:06:18 n-ando Exp

マクロ定義

#define RTC_DEBUG fmt   ) 
 

値:

rtcout.acquire();                                                                                                               \
        rtcout.level(RtcLogStream::DEBUG)    << rtcout.printf fmt << std::endl; \
        rtcout.release()
デバッグログ出力マクロ。

デバッグレベルのログ出力マクロ。ログレベルが ( DEBUG, TRACE, VERBOSE, PARANOID ) の場合にログ出力される。

#define RTC_ERROR fmt   ) 
 

値:

rtcout.acquire();                                                                                                               \
        rtcout.level(RtcLogStream::ERROR)    << rtcout.printf fmt << std::endl; \
        rtcout.release()
エラーログ出力マクロ。

エラーレベルのログ出力マクロ。ログレベルが ERROR, WARN, INFO, NORMAL, DEBUG, TRACE, VERBOSE, PARANOID の場合にログ出力される。

#define RTC_INFO fmt   ) 
 

値:

rtcout.acquire();                                                                                                               \
        rtcout.level(RtcLogStream::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(RtcLogStream::NORMAL)   << rtcout.printf fmt << std::endl; \
        rtcout.release()
ノーマルログ出力マクロ。

ノーマルレベルのログ出力マクロ。ログレベルが ( NORMAL, DEBUG, TRACE, VERBOSE, PARANOID ) の場合にログ出力される。

#define RTC_PARANOID fmt   ) 
 

値:

rtcout.acquire();                                                                                                               \
        rtcout.level(RtcLogStream::PARANOID) << rtcout.printf fmt << std::endl; \
        rtcout.release()
パラノイドログ出力マクロ。

パラノイドレベルのログ出力マクロ。ログレベルが ( PARANOID ) の場合にログ出力される。

#define RTC_TRACE fmt   ) 
 

値:

rtcout.acquire();                                                                                                               \
        rtcout.level(RtcLogStream::TRACE)    << rtcout.printf fmt << std::endl; \
        rtcout.release()
トレースログ出力マクロ。

トレースレベルのログ出力マクロ。ログレベルが ( TRACE, VERBOSE, PARANOID ) の場合にログ出力される。

#define RTC_VERBOSE fmt   ) 
 

値:

rtcout.acquire();                                                                                                               \
        rtcout.level(RtcLogStream::VERBOSE)  << rtcout.printf fmt << std::endl; \
        rtcout.release()
ベルボーズログ出力マクロ。

ベルボーズレベルのログ出力マクロ。ログレベルが ( VERBOSE, PARANOID ) の場合にログ出力される。

#define RTC_WARN fmt   ) 
 

値:

rtcout.acquire();                                                                                                               \
        rtcout.level(RtcLogStream::WARN)     << rtcout.printf fmt << std::endl; \
        rtcout.release()
ワーニングログ出力マクロ。

ウォーニングレベルのログ出力マクロ。ログレベルが ( WARN, INFO, NORMAL, DEBUG, TRACE, VERBOSE, PARANOID ) の場合にログ出力される。


OpenRTMに対してMon May 23 03:13:43 2005に生成されました。 doxygen 1.3.6