30 #ifndef _CEGUIDefaultLogger_h_
31 #define _CEGUIDefaultLogger_h_
33 #include "CEGUILogger.h"
37 # pragma warning(push)
38 # pragma warning(disable : 4275)
39 # pragma warning(disable : 4251)
99 virtual void setLogFilename(
const String& filename,
bool append =
false);
106 std::vector<std::pair<String, LoggingLevel> >
d_cache;
113 #if defined(_MSC_VER)
114 # pragma warning(pop)
117 #endif // end of guard _CEGUIDefaultLogger_h_
Default implementation for the Logger class. If you want to redirect CEGUI logs to some place other ...
Definition: CEGUIDefaultLogger.h:54
Abstract class that defines the interface of a logger object for the GUI system. The default impleme...
Definition: CEGUILogger.h:73
std::vector< std::pair< String, LoggingLevel > > d_cache
Used to cache log entries before log file is created.
Definition: CEGUIDefaultLogger.h:106
std::ofstream d_ostream
Stream used to implement the logger.
Definition: CEGUIDefaultLogger.h:105
LoggingLevel
Enumeration of logging levels.
Definition: CEGUILogger.h:57
std::ostringstream d_workstream
Used to build log entry strings.
Definition: CEGUIDefaultLogger.h:107
bool d_caching
true while log entries are beign cached (prior to logfile creation)
Definition: CEGUIDefaultLogger.h:108
Basic events will be logged (default level).
Definition: CEGUILogger.h:61
String class used within the GUI system.
Definition: CEGUIString.h:57