Tracore
|
#include <Logger.h>
Public Member Functions | |
Logger (Logger const &)=delete | |
void | operator= (Logger const &)=delete |
Static Public Member Functions | |
static Logger & | Instance () |
static void | SetDebug (bool debug) |
static void | SetInfo (bool info) |
static bool | IsDebugEnabled () |
static bool | IsInfoEnabled () |
static void | LogInfo (std::string const &message) |
static void | LogError (std::string const &message) |
static void | LogDebug (std::string const &message) |
Utility class for logging. Is a singleton. Provides three different types of messages.
|
delete |
-> Singleton
|
inlinestatic |
Gets THE instance of this singleton. Creates a new instance if not already created.
|
static |
If the debug messages are logged.
|
static |
If the info messages are logged.
|
static |
Logs the given message as an debug message.
message | The debug message to log |
|
static |
Logs the given message as an error message.
message | The error message to log |
|
static |
Logs the given message as an info message.
message | The info message to log |
|
delete |
-> Singleton
|
static |
Sets the debug message logging.
debug | True, if the debug messages should be logged |
|
static |
Sets the info message logging.
info | True, if the info messages should be logged |