29#ifndef _CEGUILogger_h_
30#define _CEGUILogger_h_
32#include "CEGUI/Base.h"
33#include "CEGUI/String.h"
38#include "CEGUI/Singleton.h"
43# pragma warning(disable : 4275)
44# pragma warning(disable : 4251)
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
Definition MemoryAllocatedObject.h:110
Abstract class that defines the interface of a logger object for the GUI system. The default implemen...
Definition Logger.h:75
LoggingLevel d_level
Holds current logging level.
Definition Logger.h:147
void setLoggingLevel(LoggingLevel level)
Set the level of logging information that will get out to the log file.
Definition Logger.h:99
LoggingLevel getLoggingLevel(void) const
return the current logging level setting
Definition Logger.h:109
virtual ~Logger(void)
Destructor for Logger object.
Logger(void)
Constructor for Logger object.
virtual void logEvent(const String &message, LoggingLevel level=Standard)=0
Add an event to the log.
virtual void setLogFilename(const String &filename, bool append=false)=0
Set the name of the log file where all subsequent log entries should be written. The interpretation o...
Definition Singleton.h:56
String class used within the GUI system.
Definition String.h:64
base class for properties able to do native set/get
Definition TypedProperty.h:50
Main namespace for Crazy Eddie's GUI Library.
Definition arch_overview.dox:1
LoggingLevel
Enumeration of logging levels.
Definition Logger.h:57
@ Insane
Mostly everything gets logged (use for heavy tracing only, log WILL be big).
Definition Logger.h:62
@ Informative
Useful tracing (object creations etc) information will be logged.
Definition Logger.h:61
@ Standard
Basic events will be logged (default level).
Definition Logger.h:60
@ Warnings
Warnings will be logged as well.
Definition Logger.h:59
@ Errors
Only actual error conditions will be logged.
Definition Logger.h:58