RTC Toolkit  2.0.0
Classes | Namespaces | Functions
logger.hpp File Reference

Logging Support Library based on log4cplus. More...

#include <log4cplus/logger.h>
#include <log4cplus/loggingmacros.h>

Go to the source code of this file.

Classes

class  rtctk::componentFramework::LogInitializer
 RAII class to clean-up logging without leaking memory. More...
 

Namespaces

 rtctk
 
 rtctk::componentFramework
 

Functions

void rtctk::componentFramework::LogConfigure (const std::string &cfg_file_name="")
 Initial logging system configuration. More...
 
void rtctk::componentFramework::MakeLogger (const std::string &name, log4cplus::LogLevel ll, bool log_to_file=true, bool additive=false, log4cplus::LogLevel log_to_console_threshold=log4cplus::NOT_SET_LOG_LEVEL)
 Retrieve new logger programmatically. More...
 
void rtctk::componentFramework::SetDefaultLogger (const std::string &name)
 Set the default logger. More...
 
log4cplus::Logger & rtctk::componentFramework::GetLogger (const std::string &name="")
 Get handle to a specific logger (used with logging macros) More...
 

Detailed Description

Logging Support Library based on log4cplus.