Go to the documentation of this file.
12 #ifndef RTCTK_COMPONENTFRAMEWORK_LOGGER_HPP_
13 #define RTCTK_COMPONENTFRAMEWORK_LOGGER_HPP_
15 #include <log4cplus/logger.h>
16 #include <log4cplus/loggingmacros.h>
48 log4cplus::LogLevel ll,
49 bool log_to_file =
true,
50 bool additive =
false);
name
Definition: wscript:15
void MakeLogger(const std::string &name, log4cplus::LogLevel ll, bool log_to_file=true, bool additive=false)
Retrieve new logger programmatically.
void LogConfigure(const std::string &cfg_file_name="")
Initial logging system configuration.
Definition: commandReplier.cpp:20
LogInitializer()
Definition: logger.cpp:44
RAII class to clean-up logging without leaking memory.
Definition: logger.hpp:23
log4cplus::Logger & GetLogger(const std::string &name="")
Get handle to a specific logger (used with logging macros)
~LogInitializer()
Definition: logger.cpp:58
void SetDefaultLogger(const std::string &name)
Set the default logger.
Definition: logger.cpp:62