|
OpenRTM-aist 2.1.0
|
RT component logger class. More...
#include <rtm/config_rtc.h>#include <coil/ClockManager.h>#include <coil/Logger.h>#include <mutex>#include <coil/stringutil.h>#include <coil/Properties.h>#include <string>

Go to the source code of this file.
Classes | |
| class | RTC::Logger |
| Logger class. More... | |
Namespaces | |
| namespace | RTC |
| RT-Component. | |
Macros | |
| #define | RTC_LOG(LV, fmt) |
| General-purpose log output macro. | |
| #define | RTC_LOG_STR(LV, str) |
| #define | RTC_FATAL(fmt) |
| Error log output macro. | |
| #define | RTC_FATAL_STR(str) |
| #define | RTC_ERROR(fmt) |
| Error log output macro. | |
| #define | RTC_ERROR_STR(str) |
| #define | RTC_WARN(fmt) |
| Warning log output macro. | |
| #define | RTC_WARN_STR(str) |
| #define | RTC_INFO(fmt) |
| Information level log output macro. | |
| #define | RTC_INFO_STR(str) |
| #define | RTC_DEBUG(fmt) |
| Debug level log output macro. | |
| #define | RTC_DEBUG_STR(str) |
| #define | RTC_TRACE(fmt) |
| Trace level log output macro. | |
| #define | RTC_TRACE_STR(str) |
| #define | RTC_VERBOSE(fmt) |
| Verbose level log output macro. | |
| #define | RTC_VERBOSE_STR(str) |
| #define | RTC_PARANOID(fmt) |
| Paranoid level log output macro. | |
| #define | RTC_PARANOID_STR(str) |
Typedefs | |
| using | RTC::LogStreamBuf = ::coil::LogStreamBuffer |
| using | RTC::LogStream = ::coil::LogStream |
RT component logger class.
Copyright (C) 2003-2008 Task-intelligence Research Group, Intelligent Systems Research Institute, National Institute of Advanced Industrial Science and Technology (AIST), Japan All rights reserved.
$Id$
| #define RTC_DEBUG | ( | fmt | ) |
Debug level log output macro.
If log levels are ( DEBUG, TRACE, VERBOSE, PARANOID ), message will be output to log.
Referenced by RTC::InPort< DataType >::InPort(), RTC::InPort< DataType >::isEmpty(), RTC::InPort< DataType >::isEmpty(), RTC::InPort< DataType >::isEmpty(), RTC::InPort< DataType >::isNew(), RTC::InPort< DataType >::isNew(), RTC::InPort< DataType >::isNew(), RTC::OutPort< DataType >::OutPort(), RTC::InPort< DataType >::read(), and RTC::OutPort< DataType >::write().
| #define RTC_DEBUG_STR | ( | str | ) |
| #define RTC_ERROR | ( | fmt | ) |
Error log output macro.
This is a log output macro of the error level. If log levels are ERROR, WARN, INFO, DEBUG, TRACE, VERBOSE and PARANOID, message will be output to log.
Referenced by RTC::InPort< DataType >::read(), RTC::InPortConnector::read(), and RTC::OutPortConnector::write().
| #define RTC_ERROR_STR | ( | str | ) |
| #define RTC_FATAL | ( | fmt | ) |
Error log output macro.
This is a log output macro of the error level. If log levels are FATAL, ERROR, WARN, INFO, NORMAL, DEBUG, TRACE, VERBOSE or PARANOID, message will be output to log.
| #define RTC_FATAL_STR | ( | str | ) |
| #define RTC_INFO | ( | fmt | ) |
Information level log output macro.
If log levels are ( INFO, DEBUG, TRACE, VERBOSE, PARANOID ), message will be output to log.
| #define RTC_INFO_STR | ( | str | ) |
| #define RTC_LOG | ( | LV, | |
| fmt ) |
General-purpose log output macro.
Lock log level and output format string as arguments.
| #define RTC_LOG_STR | ( | LV, | |
| str ) |
| #define RTC_PARANOID | ( | fmt | ) |
Paranoid level log output macro.
If log levels are ( PARANOID ), message will be output to log.
Referenced by RTC::InPortConnector::getDirectData(), and RTC::OutPortConnector::write().
| #define RTC_PARANOID_STR | ( | str | ) |
| #define RTC_TRACE | ( | fmt | ) |
Trace level log output macro.
If log levels are ( TRACE, VERBOSE, PARANOID ), message will be output to log.
Referenced by RTC::RTObject_impl::bindParameter(), RTC::RTObject_impl::getCategory(), RTC::RTObject_impl::getDescription(), RTC::InPortConnector::getDirectData(), RTC::RTObject_impl::getInstanceName(), RTC::RTObject_impl::getTypeName(), RTC::RTObject_impl::getVendor(), RTC::RTObject_impl::getVersion(), RTC::InPort< DataType >::isEmpty(), RTC::InPort< DataType >::isEmpty(), RTC::InPort< DataType >::isEmpty(), RTC::InPort< DataType >::isNew(), RTC::InPort< DataType >::isNew(), RTC::InPort< DataType >::isNew(), RTC::InPort< DataType >::read(), RTC::OutPort< DataType >::write(), and RTC::OutPortConnector::write().
| #define RTC_TRACE_STR | ( | str | ) |
| #define RTC_VERBOSE | ( | fmt | ) |
Verbose level log output macro.
If log levels are ( VERBOSE, PARANOID ), message will be output to log.
| #define RTC_VERBOSE_STR | ( | str | ) |
| #define RTC_WARN | ( | fmt | ) |
Warning log output macro.
If log levels are ( WARN, INFO, DEBUG, TRACE, VERBOSE, PARANOID ), message will be output to log.
Referenced by RTC::InPort< DataType >::read(), and RTC::OutPort< DataType >::write().
| #define RTC_WARN_STR | ( | str | ) |