RSC
0.17.1
|
Default logging system using the console for output. More...
#include <ConsoleLoggingSystem.h>
Public Member Functions | |
ConsoleLoggingSystem () | |
virtual | ~ConsoleLoggingSystem () |
std::string | getRegistryKey () const |
Returns a unique key describing the name of the logging system. More... | |
LoggerPtr | createLogger (const std::string &name) |
Factory method to create a new system-specific logger. More... | |
Public Member Functions inherited from rsc::logging::LoggingSystem | |
virtual | ~LoggingSystem () |
Static Public Member Functions | |
static std::string | getName () |
Default logging system using the console for output.
Definition at line 40 of file ConsoleLoggingSystem.h.
rsc::logging::ConsoleLoggingSystem::ConsoleLoggingSystem | ( | ) |
Definition at line 39 of file ConsoleLoggingSystem.cpp.
|
virtual |
Definition at line 42 of file ConsoleLoggingSystem.cpp.
|
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 |
Implements rsc::logging::LoggingSystem.
Definition at line 49 of file ConsoleLoggingSystem.cpp.
References CREATE_GLOBAL_REGISTREE_MSG, and rsc::logging::loggingSystemRegistry().
|
static |
Definition at line 35 of file ConsoleLoggingSystem.cpp.
Referenced by getRegistryKey().
|
virtual |
Returns a unique key describing the name of the logging system.
Implements rsc::logging::LoggingSystem.
Definition at line 45 of file ConsoleLoggingSystem.cpp.
References getName().