Revision 132
changed the Log class a little and made it conform to coding style slightly better
Log.h | ||
---|---|---|
24 | 24 |
Log(char * fileName); |
25 | 25 |
~Log(); |
26 | 26 |
|
27 |
int logMessage(int type, char * message); |
|
27 |
int log_string(int type, char * message); |
|
28 |
int log_error(char * message); |
|
29 |
int log_message(char * message); |
|
28 | 30 |
|
29 | 31 |
private: |
30 |
struct tm getCurrentTime();
|
|
32 |
struct tm get_current_time();
|
|
31 | 33 |
|
32 | 34 |
FILE * logFile; |
33 | 35 |
}; |
Also available in: Unified diff