Important update:

- Bug fix: make DateTimeCore functions linkable by using it in CLogCore
- CLogCore:
  - Rename FileOutput -> OutputFile
  - Add DateTimeStr to Output if FileNo > 3
This commit is contained in:
Charl Wentzel
2017-03-04 21:44:39 +02:00
parent 02b43fe6b8
commit ae95602f64
5 changed files with 38 additions and 28 deletions

View File

@@ -34,10 +34,10 @@ typedef enum { dlNone = 0, dlLow = 1, dlMedium = 2, dlHigh = 3 } EDebugLevel;
class CLogCore
{
private:
FILE * FileOutput;
FILE * OutputFile;
public:
CLogCore( FILE * pFileOutput );
CLogCore( FILE * pOutputFile );
bool Message( EDebugLevel DebugLevel, EDebugLevel MsgLevel, const char * Format, ... );
bool Output( EDebugLevel DebugLevel, EDebugLevel MsgLevel, const short Show, const char * Buffer, int Len, const char * Format, ... );