75 virtual void Write(
LogLevel _level,
uint8 const _nodeId,
char const* _format, va_list _args ) = 0;
95 static Log* Create(
string const& _filename,
bool const _bAppend,
bool const _bConsoleOutput,
LogLevel const _saveLevel,
LogLevel const _queueLevel,
LogLevel const _dumpTrigger );
114 static void Destroy();
122 static bool SetLoggingClass(
i_LogImpl *LogClass );
144 static bool GetLoggingState();
171 static void Write(
LogLevel _level,
char const* _format, ... );
194 Log(
string const& _filename,
bool const _bAppend,
bool const _bConsoleOutput,
LogLevel _saveLevel,
LogLevel _queueLevel,
LogLevel _dumpTrigger );
198 static Log* s_instance;
Definition: Bitfield.h:34
virtual void SetLoggingState(LogLevel _saveLevel, LogLevel _queueLevel, LogLevel _dumpTrigger)=0
i_LogImpl()
Definition: Log.h:73
virtual void QueueClear()=0
virtual void QueueDump()=0
char const * LogLevelString[]
Definition: Log.cpp:45
virtual void Write(LogLevel _level, uint8 const _nodeId, char const *_format, va_list _args)=0
virtual ~i_LogImpl()
Definition: Log.h:74
virtual void SetLogFileName(const string &_filename)=0
Implements a platform-independent mutex–for serializing access to a shared resource.
Definition: Mutex.h:40
A Abstract class to create a Custom Logging MethodUse this as the basis to create a custom logging cl...
Definition: Log.h:70
Implements a platform-independent log...written to the console and, optionally, a file...
Definition: Log.h:85
unsigned char uint8
Definition: Defs.h:90