63 virtual void Write(
LogLevel _level,
uint8 const _nodeId,
char const* _format, va_list _args ) = 0;
82 static Log*
Create(
string const& _filename,
bool const _bAppend,
bool const _bConsoleOutput,
LogLevel const _saveLevel,
LogLevel const _queueLevel,
LogLevel const _dumpTrigger );
155 static void Write(
LogLevel _level,
char const* _format, ... );
179 Log(
string const& _filename,
bool const _bAppend,
bool const _bConsoleOutput,
LogLevel _saveLevel,
LogLevel _queueLevel,
LogLevel _dumpTrigger );
183 static Log* s_instance;
LogLevel
Definition: Log.h:41
static bool GetLoggingState()
Determine whether logging is enabled or not (retained for backward compatibility) ...
Definition: Log.cpp:209
virtual void SetLoggingState(LogLevel _saveLevel, LogLevel _queueLevel, LogLevel _dumpTrigger)=0
i_LogImpl()
Definition: Log.h:61
virtual void QueueClear()=0
static Log * Create(string const &_filename, bool const _bAppend, bool const _bConsoleOutput, LogLevel const _saveLevel, LogLevel const _queueLevel, LogLevel const _dumpTrigger)
Definition: Log.cpp:73
virtual void QueueDump()=0
static void SetLogFileName(const string &_filename)
Change the log file name. This will start a new log file (or potentially start appending information ...
Definition: Log.cpp:299
static void QueueClear()
Definition: Log.cpp:283
virtual void Write(LogLevel _level, uint8 const _nodeId, char const *_format, va_list _args)=0
static void Destroy()
Definition: Log.cpp:121
virtual ~i_LogImpl()
Definition: Log.h:62
virtual void SetLogFileName(const string &_filename)=0
static void QueueDump()
Definition: Log.cpp:267
Implements a platform-independent mutex–for serializing access to a shared resource.
Definition: Mutex.h:39
Implements a platform-independent log...written to the console and, optionally, a file...
Definition: Log.h:72
static void Write(LogLevel _level, char const *_format,...)
Definition: Log.cpp:220
char const * LogLevelString[]
Definition: Log.cpp:45
static bool SetLoggingClass(i_LogImpl *LogClass)
Set the Logging Implementation Class to replace the standard File/Console logging.
Definition: Log.cpp:133
static void SetLoggingState(bool _dologging)
Enable or disable library logging (retained for backward compatibility)
Definition: Log.cpp:153
unsigned char uint8
Definition: Defs.h:74