#include <CEGUILogger.h>
Inheritance diagram for CEGUI::Logger:
Public Member Functions | |
Logger (const String &filename, bool append=false) | |
Constructor for Logger object. | |
~Logger (void) | |
Destructor for Logger object. | |
void | setLoggingLevel (LoggingLevel level) |
Set the level of logging information that will get out to the log file. | |
LoggingLevel | getLoggingLevel (void) const |
return the current logging level setting | |
void | logEvent (const String &message, LoggingLevel level=Standard) |
Add an event to the log. | |
Static Public Member Functions | |
Logger & | getSingleton (void) |
Return the singleton Logger object. | |
Logger * | getSingletonPtr (void) |
Protected Attributes | |
LoggingLevel | d_level |
Holds current logging level. | |
std::ofstream | d_ostream |
Stream used to implement the logger. | |
Static Protected Attributes | |
Logger * | ms_Singleton = NULL |
Definition at line 62 of file CEGUILogger.h.
|
Constructor for Logger object.
Definition at line 43 of file CEGUILogger.cpp. References d_ostream, logEvent(), CEGUI::Standard, and CEGUI::utf8. |
|
Destructor for Logger object.
Definition at line 61 of file CEGUILogger.cpp. References d_ostream, logEvent(), and CEGUI::utf8. |
|
return the current logging level setting
Definition at line 117 of file CEGUILogger.h. References CEGUI::LoggingLevel. |
|
Return the singleton Logger object.
Reimplemented from CEGUI::Singleton< Logger >. Definition at line 131 of file CEGUILogger.cpp. |
|
Definition at line 68 of file CEGUISingleton.h. |
|
Add an event to the log.
Definition at line 74 of file CEGUILogger.cpp. References d_level, d_ostream, CEGUI::Errors, CEGUI::Informative, CEGUI::Insane, and CEGUI::Standard. |
|
Set the level of logging information that will get out to the log file.
Definition at line 107 of file CEGUILogger.h. |
|
Holds current logging level.
Definition at line 139 of file CEGUILogger.h. Referenced by logEvent(). |
|
Stream used to implement the logger.
Definition at line 140 of file CEGUILogger.h. Referenced by logEvent(), Logger(), and ~Logger(). |
|
Definition at line 37 of file CEGUILogger.cpp. |