RTC Toolkit 4.0.1
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
logger.hpp File Reference

Logging Support Library based on log4cplus. More...

#include <log4cplus/initializer.h>
#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

namespace  rtctk
 
namespace  rtctk::componentFramework
 

Functions

void rtctk::componentFramework::LogConfigure (const std::string &app_name, const std::string &props_file_name)
 Performs custom logging configuration for any application.
 
void rtctk::componentFramework::LogConfigure (const std::string &app_name, log4cplus::LogLevel default_log_level=log4cplus::INFO_LOG_LEVEL)
 Performs default logging configuration for RTC Component applications.
 
void rtctk::componentFramework::LogConfigureTool (const std::string &app_name, log4cplus::LogLevel default_log_level=log4cplus::ERROR_LOG_LEVEL, bool log_to_file=false)
 Performs default logging configuration for Client Applications and Standalone Tools.
 
log4cplus::Logger & rtctk::componentFramework::GetLogger (const std::string &name="app")
 Get handle to a specific logger.
 

Detailed Description

Logging Support Library based on log4cplus.