9 #ifndef CPPLOGGING_CONFIG_H
10 #define CPPLOGGING_CONFIG_H
38 static void ConfigLogger(
const std::shared_ptr<Processor>& sink);
44 static void ConfigLogger(
const std::string& name,
const std::shared_ptr<Processor>& sink);
70 CppCommon::CriticalSection _lock;
71 std::map<std::string, std::shared_ptr<Processor>> _config;
72 std::map<std::string, std::shared_ptr<Processor>> _working;
77 static Config& GetInstance()
78 {
static Config instance;
return instance; }
Logger configuration static class.
static void Shutdown()
Shutdown the logging infrastructure.
Config(const Config &)=delete
Config & operator=(const Config &)=delete
Config & operator=(Config &&)=delete
static void ConfigLogger(const std::shared_ptr< Processor > &sink)
Configure default logger with a given logging sink processor.
static void Startup()
Startup the logging infrastructure.
static Logger CreateLogger()
Create default logger.
Logger interface definition.
C++ Logging project definitions.