Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

RtcSystemLogger.h File Reference

RT component logger class. More...

#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"

Go to the source code of this file.

Namespaces

namespace  RTM

Defines

#define RTC_LOG(LV, fmt)
 Log output macro.

#define RTC_ERROR(fmt)
 Error log output macro.

#define RTC_WARN(fmt)
 Warning log output macro.

#define RTC_INFO(fmt)
 Infomation level log output macro.

#define RTC_NORMAL(fmt)
 Normal level log output macro.

#define RTC_DEBUG(fmt)
 Debug level log output macro.

#define RTC_TRACE(fmt)
 Trace level log output macro.

#define RTC_VERBOSE(fmt)
 Verbose level log output macro.

#define RTC_PARANOID(fmt)
 Paranoid level log output macro.


Detailed Description

RT component logger class.

Date:
Date
2005/05/12 09:06:18
Author:
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 Documentation

#define RTC_DEBUG fmt   ) 
 

Value:

rtcout.acquire();                                                                                                               \
        rtcout.level(RtcLogStream::DEBUG)    << rtcout.printf fmt << std::endl; \
        rtcout.release()
Debug level log output macro.

If logging levels are ( DEBUG, TRACE, VERBOSE, PARANOID ), message will be output to log.

#define RTC_ERROR fmt   ) 
 

Value:

rtcout.acquire();                                                                                                               \
        rtcout.level(RtcLogStream::ERROR)    << rtcout.printf fmt << std::endl; \
        rtcout.release()
Error log output macro.

#define RTC_INFO fmt   ) 
 

Value:

rtcout.acquire();                                                                                                               \
        rtcout.level(RtcLogStream::INFO)     << rtcout.printf fmt << std::endl; \
        rtcout.release()
Infomation level log output macro.

If logging levels are ( INFO, NORMAL, DEBUG, TRACE, VERBOSE, PARANOID ), message will be output to log.

#define RTC_LOG LV,
fmt   ) 
 

Value:

rtcout.acquire();                                                                                                               \
        rtcout.level(LV) << rtcout.printf fmt << std::endl;                                     \
        rtcout.release()
Log output macro.

#define RTC_NORMAL fmt   ) 
 

Value:

rtcout.acquire();                                                                                                               \
        rtcout.level(RtcLogStream::NORMAL)   << rtcout.printf fmt << std::endl; \
        rtcout.release()
Normal level log output macro.

If logging levels are ( NORMAL, DEBUG, TRACE, VERBOSE, PARANOID ), message will be output to log.

#define RTC_PARANOID fmt   ) 
 

Value:

rtcout.acquire();                                                                                                               \
        rtcout.level(RtcLogStream::PARANOID) << rtcout.printf fmt << std::endl; \
        rtcout.release()
Paranoid level log output macro.

If logging levels are ( PARANOID ), message will be output to log.

#define RTC_TRACE fmt   ) 
 

Value:

rtcout.acquire();                                                                                                               \
        rtcout.level(RtcLogStream::TRACE)    << rtcout.printf fmt << std::endl; \
        rtcout.release()
Trace level log output macro.

If logging levels are ( TRACE, VERBOSE, PARANOID ), message will be output to log.

#define RTC_VERBOSE fmt   ) 
 

Value:

rtcout.acquire();                                                                                                               \
        rtcout.level(RtcLogStream::VERBOSE)  << rtcout.printf fmt << std::endl; \
        rtcout.release()
Verbose level log output macro.

If logging levels are ( VERBOSE, PARANOID ), message will be output to log.

#define RTC_WARN fmt   ) 
 

Value:

rtcout.acquire();                                                                                                               \
        rtcout.level(RtcLogStream::WARN)     << rtcout.printf fmt << std::endl; \
        rtcout.release()
Warning log output macro.

If logging levels are ( WARN, INFO, NORMAL, DEBUG, TRACE, VERBOSE, PARANOID ), message will be output to log.


Generated on Mon May 23 03:13:57 2005 for OpenRTM by doxygen 1.3.6