29 #ifndef _CEGUILogger_h_
30 #define _CEGUILogger_h_
32 #include "CEGUI/Base.h"
33 #include "CEGUI/String.h"
38 #include "CEGUI/Singleton.h"
42 # pragma warning(push)
43 # pragma warning(disable : 4275)
44 # pragma warning(disable : 4251)
72 class CEGUIEXPORT Logger :
73 public Singleton<Logger>,
74 public AllocatedObject<Logger>
86 virtual ~Logger(
void);
144 virtual void setLogFilename(
const String& filename,
bool append =
false) = 0;
154 Logger& operator=(
const Logger&) {
return *
this;}
162 #if defined(DEBUG) || defined (_DEBUG)
163 # define CEGUI_LOGINSANE( message ) CEGUI::Logger::getSingleton().logEvent((message), CEGUI::Insane);
165 # define CEGUI_LOGINSANE( message ) (void)0
170 #if defined(_MSC_VER)
171 # pragma warning(pop)
174 #endif // end of guard _CEGUILogger_h_
Useful tracing (object creations etc) information will be logged.
Definition: cegui/include/CEGUI/Logger.h:61
Main namespace for Crazy Eddie's GUI Library.
Definition: cegui/include/CEGUI/Affector.h:42
LoggingLevel getLoggingLevel(void) const
return the current logging level setting
Definition: debian/tmp/usr/include/cegui-0.8.4/CEGUI/Logger.h:109
Basic events will be logged (default level).
Definition: cegui/include/CEGUI/Logger.h:60
Abstract class that defines the interface of a logger object for the GUI system. The default impleme...
Definition: cegui/include/CEGUI/Logger.h:72
Warnings will be logged as well.
Definition: cegui/include/CEGUI/Logger.h:59
Definition: cegui/include/CEGUI/Singleton.h:55
void setLoggingLevel(LoggingLevel level)
Set the level of logging information that will get out to the log file.
Definition: debian/tmp/usr/include/cegui-0.8.4/CEGUI/Logger.h:99
Mostly everything gets logged (use for heavy tracing only, log WILL be big).
Definition: cegui/include/CEGUI/Logger.h:62
LoggingLevel
Enumeration of logging levels.
Definition: cegui/include/CEGUI/Logger.h:56
Only actual error conditions will be logged.
Definition: cegui/include/CEGUI/Logger.h:58
String class used within the GUI system.
Definition: cegui/include/CEGUI/String.h:62