29 #ifndef _CEGUIDefaultLogger_h_
30 #define _CEGUIDefaultLogger_h_
32 #include "CEGUI/Logger.h"
35 # pragma warning(push)
36 # pragma warning(disable : 4275)
37 # pragma warning(disable : 4251)
65 typedef std::pair<String, LoggingLevel> CacheItem;
66 typedef std::vector<CacheItem
67 CEGUI_VECTOR_ALLOC(CacheItem)> Cache;
Default implementation for the Logger class. If you want to redirect CEGUI logs to some place other t...
Definition: DefaultLogger.h:50
std::ofstream d_ostream
Stream used to implement the logger.
Definition: DefaultLogger.h:61
Cache d_cache
Used to cache log entries before log file is created.
Definition: DefaultLogger.h:69
void logEvent(const String &message, LoggingLevel level=Standard)
Add an event to the log.
bool d_caching
true while log entries are beign cached (prior to logfile creation)
Definition: DefaultLogger.h:71
std::ostringstream d_workstream
Used to build log entry strings.
Definition: DefaultLogger.h:63
void setLogFilename(const String &filename, bool append=false)
Set the name of the log file where all subsequent log entries should be written. The interpretation o...
Abstract class that defines the interface of a logger object for the GUI system. The default implemen...
Definition: Logger.h:75
String class used within the GUI system.
Definition: String.h:64
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
LoggingLevel
Enumeration of logging levels.
Definition: Logger.h:57
@ Standard
Basic events will be logged (default level).
Definition: Logger.h:60