RTC Toolkit
2.0.0
|
Implementation of the logging methods. More...
#include <rtctk/componentFramework/logger.hpp>
#include <fstream>
#include <iostream>
#include <map>
#include <unistd.h>
#include <ciiLogManager.hpp>
#include <log4cplus/configurator.h>
#include <log4cplus/consoleappender.h>
#include <log4cplus/fileappender.h>
#include <log4cplus/hierarchy.h>
#include <log4cplus/layout.h>
#include <filesystem>
Namespaces | |
rtctk | |
rtctk::componentFramework | |
Functions | |
void | rtctk::componentFramework::ConfigureLogger (log4cplus::Logger &logger, log4cplus::LogLevel ll, bool log_to_file, bool additive, log4cplus::LogLevel log_to_console_threshold=log4cplus::NOT_SET_LOG_LEVEL) |
void | rtctk::componentFramework::SetDefaultLogger (const std::string &name) |
Set the default logger. More... | |
void | rtctk::componentFramework::LogConfigure (const string &cfg_file_name) |
log4cplus::Logger & | rtctk::componentFramework::GetLogger (const string &logger_name) |
void | rtctk::componentFramework::MakeLogger (const string &name, log4cplus::LogLevel ll, bool log_to_file, bool additive, log4cplus::LogLevel log_to_console_threshold) |
Variables | |
const std::string | rtctk::componentFramework::DEFAULT_PATTERN = "[%D{%H:%M:%S:%q}][%-5p][%c] %m%n" |
std::string | rtctk::componentFramework::default_logger = "root" |
Implementation of the logging methods.