 |
OpenZWave Library
1.2
|
Go to the documentation of this file.
62 virtual void Write(
LogLevel _level,
uint8 const _nodeId,
char const* _format, va_list _args ) = 0;
81 static Log*
Create(
string const& _filename,
bool const _bAppend,
bool const _bConsoleOutput,
LogLevel const _saveLevel,
LogLevel const _queueLevel,
LogLevel const _dumpTrigger );
154 static void Write(
LogLevel _level,
char const* _format, ... );
178 Log(
string const& _filename,
bool const _bAppend,
bool const _bConsoleOutput,
LogLevel _saveLevel,
LogLevel _queueLevel,
LogLevel _dumpTrigger );
182 static Log* s_instance;
@ LogLevel_None
Definition: Log.h:43
unsigned char uint8
Definition: Defs.h:63
@ LogLevel_Error
Definition: Log.h:46
virtual void QueueDump()=0
static bool GetLoggingState()
Determine whether logging is enabled or not (retained for backward compatibility)
Definition: Log.cpp:202
virtual void SetLoggingState(LogLevel _saveLevel, LogLevel _queueLevel, LogLevel _dumpTrigger)=0
Implements a platform-independent mutex–for serializing access to a shared resource.
Definition: Mutex.h:39
static void SetLoggingState(bool _dologging)
Enable or disable library logging (retained for backward compatibility)
Definition: Log.cpp:146
static Log * Create(string const &_filename, bool const _bAppend, bool const _bConsoleOutput, LogLevel const _saveLevel, LogLevel const _queueLevel, LogLevel const _dumpTrigger)
Definition: Log.cpp:70
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:292
@ LogLevel_Always
Definition: Log.h:44
i_LogImpl()
Definition: Log.h:60
@ LogLevel_Info
Definition: Log.h:49
static void QueueClear()
Definition: Log.cpp:276
virtual void Write(LogLevel _level, uint8 const _nodeId, char const *_format, va_list _args)=0
@ LogLevel_Detail
Definition: Log.h:50
const char * LogLevelString[]
Definition: Log.cpp:43
@ LogLevel_Internal
Definition: Log.h:54
virtual void SetLogFileName(const string &_filename)=0
@ LogLevel_Warning
Definition: Log.h:47
virtual ~i_LogImpl()
Definition: Log.h:61
Implements a platform-independent log...written to the console and, optionally, a file.
Definition: Log.h:71
static bool SetLoggingClass(i_LogImpl *LogClass)
Set the Logging Implmentation Class to replace the standard File/Console Loggin.
Definition: Log.cpp:126
@ LogLevel_StreamDetail
Definition: Log.h:53
static void Destroy()
Definition: Log.cpp:114
@ LogLevel_Debug
Definition: Log.h:51
@ LogLevel_Fatal
Definition: Log.h:45
static void Write(LogLevel _level, char const *_format,...)
Definition: Log.cpp:213
static void QueueDump()
Definition: Log.cpp:260
@ LogLevel_Alert
Definition: Log.h:48
LogLevel
Definition: Log.h:41
virtual void QueueClear()=0
Definition: Bitfield.h:34