RSC
0.19.0
|
Default logging system using the console for output. More...
#include <ConsoleLoggingSystem.h>
Public Member Functions | |
ConsoleLoggingSystem () | |
virtual | ~ConsoleLoggingSystem () |
const std::string | getName () const |
Return 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 ConsoleLoggingSystem * | create (const runtime::Properties &properties) |
Private Attributes | |
bool | canUseSGRs |
Default logging system using the console for output.
Definition at line 46 of file ConsoleLoggingSystem.h.
rsc::logging::ConsoleLoggingSystem::ConsoleLoggingSystem | ( | ) |
Definition at line 40 of file ConsoleLoggingSystem.cpp.
Referenced by create().
|
virtual |
Definition at line 49 of file ConsoleLoggingSystem.cpp.
|
static |
Definition at line 64 of file ConsoleLoggingSystem.cpp.
References ConsoleLoggingSystem().
Referenced by rsc::logging::LoggingSystemFactory::LoggingSystemFactory().
|
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 56 of file ConsoleLoggingSystem.cpp.
References canUseSGRs.
|
virtual |
Return the name of the logging system.
Implements rsc::logging::LoggingSystem.
Definition at line 52 of file ConsoleLoggingSystem.cpp.
|
private |
Definition at line 64 of file ConsoleLoggingSystem.h.
Referenced by createLogger().