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)
144 virtual void setLogFilename(
const String& filename,
bool append =
false) = 0;
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_
Mostly everything gets logged (use for heavy tracing only, log WILL be big).
Definition: Logger.h:62
Definition: MemoryAllocatedObject.h:109
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
LoggingLevel getLoggingLevel(void) const
return the current logging level setting
Definition: Logger.h:109
Only actual error conditions will be logged.
Definition: Logger.h:58
Abstract class that defines the interface of a logger object for the GUI system. The default impleme...
Definition: Logger.h:72
Useful tracing (object creations etc) information will be logged.
Definition: Logger.h:61
LoggingLevel d_level
Holds current logging level.
Definition: Logger.h:147
Definition: Singleton.h:55
void setLoggingLevel(LoggingLevel level)
Set the level of logging information that will get out to the log file.
Definition: Logger.h:99
LoggingLevel
Enumeration of logging levels.
Definition: Logger.h:56
Basic events will be logged (default level).
Definition: Logger.h:60
Warnings will be logged as well.
Definition: Logger.h:59
String class used within the GUI system.
Definition: String.h:62