30 #ifndef _CEGUILogger_h_
31 #define _CEGUILogger_h_
33 #include "CEGUIBase.h"
34 #include "CEGUIString.h"
39 #include "CEGUISingleton.h"
43 # pragma warning(push)
44 # pragma warning(disable : 4275)
45 # pragma warning(disable : 4251)
143 virtual void setLogFilename(
const String& filename,
bool append =
false) = 0;
161 #if defined(DEBUG) || defined (_DEBUG)
162 # define CEGUI_LOGINSANE( message ) CEGUI::Logger::getSingleton().logEvent((message), CEGUI::Insane);
164 # define CEGUI_LOGINSANE( message )
169 #if defined(_MSC_VER)
170 # pragma warning(pop)
173 #endif // end of guard _CEGUILogger_h_
Mostly everything gets logged (use for heavy tracing only, log WILL be big).
Definition: CEGUILogger.h:63
LoggingLevel getLoggingLevel(void) const
return the current logging level setting
Definition: CEGUILogger.h:108
Only actual error conditions will be logged.
Definition: CEGUILogger.h:59
Abstract class that defines the interface of a logger object for the GUI system. The default impleme...
Definition: CEGUILogger.h:73
Useful tracing (object creations etc) information will be logged.
Definition: CEGUILogger.h:62
LoggingLevel d_level
Holds current logging level.
Definition: CEGUILogger.h:146
Definition: CEGUISingleton.h:56
void setLoggingLevel(LoggingLevel level)
Set the level of logging information that will get out to the log file.
Definition: CEGUILogger.h:98
LoggingLevel
Enumeration of logging levels.
Definition: CEGUILogger.h:57
Basic events will be logged (default level).
Definition: CEGUILogger.h:61
Warnings will be logged as well.
Definition: CEGUILogger.h:60
String class used within the GUI system.
Definition: CEGUIString.h:57