29 #ifndef __LogManager_H__
30 #define __LogManager_H__
97 Log* createLog(
const String& name,
bool defaultLog =
false,
bool debuggerOutput =
true,
98 bool suppressFileOutput =
false);
106 Log* getDefaultLog();
109 void destroyLog(
const String& name);
111 void destroyLog(
Log* log);
116 Log* setDefaultLog(
Log* newLog);
121 bool maskDebug =
false);
126 bool maskDebug =
false) { logMessage(message, lml, maskDebug); }
130 bool maskDebug =
false);
Template class for creating single-instance global classes.
LoggingLevel
The level of detail to which the log will go into.
Stream object which targets a log.
Log * mDefaultLog
The default log to which output is done.
The log manager handles the creation and retrieval of logs for the application.
LogList mLogs
A list of all the logs the manager can access.
void logMessage(LogMessageLevel lml, const String &message, bool maskDebug=false)
Log a message to the default log (signature for backward compatibility).
map< String, Log * >::type LogList
LogMessageLevel
The importance of a logged message.
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...