Important Update:
- LogCore: - Removed global DebugLevel var, now passed as parameter - Implemented binary output values - FunctionCore, SelectCore and SelectableCore: - internal DebugLevel param implemented - new internal DisplayOutput param (Normal/Hex/Bin) - BufferCore: - Bug fix: allow for empty search string/marker
This commit is contained in:
13
LogCore.h
13
LogCore.h
@@ -18,10 +18,11 @@
|
||||
|
||||
// Debug options
|
||||
const short
|
||||
OUT_NORMAL = 1,
|
||||
OUT_HEX = 2,
|
||||
OUT_CRLF = 4,
|
||||
OUT_ASIS = 8;
|
||||
OUT_NORMAL = 1,
|
||||
OUT_HEX = 2,
|
||||
OUT_BIN = 4,
|
||||
OUT_CRLF = 8,
|
||||
OUT_ASIS = 16;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
@@ -29,9 +30,9 @@ typedef enum { dlNone = 0, dlLow = 1, dlMedium = 2, dlHigh = 3 } EDebugLevel;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
bool LogMessage( EDebugLevel Level, const char * Format, ... );
|
||||
bool LogMessage( EDebugLevel DebugLevel, EDebugLevel MsgLevel, const char * Format, ... );
|
||||
|
||||
bool ShowOutput( EDebugLevel Level, const short Show, const char * Buffer, int Len, const char * Format, ... );
|
||||
bool ShowOutput( EDebugLevel DebugLevel, EDebugLevel MsgLevel, const short Show, const char * Buffer, int Len, const char * Format, ... );
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user