RTC Toolkit 4.0.1
|
Implementation of the logging methods. More...
#include <rtctk/componentFramework/logger.hpp>
#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>
#include <map>
#include <unistd.h>
Namespaces | |
namespace | rtctk |
namespace | rtctk::componentFramework |
Functions | |
void | rtctk::componentFramework::ConfigureLogProperties (log4cplus::LogLevel log_level, std::string const &app_name, fs::path const &logsink_path="") |
fs::path | rtctk::componentFramework::GetLogsinkPath () |
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. | |
Implementation of the logging methods.