RSC
0.16.0
|
Represents a logging adapter available to the rsc logging system through the configuration. More...
#include <LoggingSystem.h>
Public Member Functions | |
virtual | ~LoggingSystem () |
virtual std::string | getRegistryKey () const =0 |
Returns a unique key describing the name of the logging system. More... | |
virtual LoggerPtr | createLogger (const std::string &name)=0 |
Factory method to create a new system-specific logger. More... | |
Represents a logging adapter available to the rsc logging system through the configuration.
Reentrancy is required.
Definition at line 44 of file LoggingSystem.h.
|
virtual |
Definition at line 32 of file LoggingSystem.cpp.
|
pure virtual |
Factory method to create a new system-specific logger.
Given parameters to this method are assumed to be set on the returned logger. The caller is responsible to not request a logger with the same name multiple times. Otherwise it is legal to return a second instance in this method.
name | name of the new logger |
Implemented in rsc::logging::ConsoleLoggingSystem.
|
pure virtual |
Returns a unique key describing the name of the logging system.
Implemented in rsc::logging::ConsoleLoggingSystem.