#include <LogWriter.h>
Static Public Member Functions | |
| static void | addLog (char *) |
| static void | addLog (char *, char *) |
| static void | addLog (const char *, const char *) |
| static void | addLog (string) |
| static void | addLog (string, string) |
| static void | disableLogging () |
| static int | getLogLevel () |
| static bool | loggingEnabled () |
| static void | setLogLevel (int logLevel) |
| static void | setLogPath (const char *) |
| static void | writeDate () |
Static Private Attributes | |
| static int | logLevel = 0 |
| static char | logPath [255] |
0 - disabled 1 - medium. Logs only some database transactions 2 - full. Complete record of changes to the database
Logging is disabled by SpikeStreamMainWindow at start up if the log file is too large. The maximum size of log file is set in SpikeStreamApplication.config. This class is not currently used, but is available if needed.
Definition at line 45 of file LogWriter.h.
|
||||||||||||
|
Add log to the log file. Definition at line 83 of file LogWriter.cpp. |
|
|
Add log to the log file. Definition at line 73 of file LogWriter.cpp. |
|
||||||||||||
|
Add log to the log file. Definition at line 63 of file LogWriter.cpp. |
|
||||||||||||
|
Add log to the log file. Definition at line 53 of file LogWriter.cpp. |
|
|
Add log to the log file. Definition at line 43 of file LogWriter.cpp. |
|
|
Switche logging off. Definition at line 93 of file LogWriter.cpp. References logLevel. |
|
|
Returns the log level. Definition at line 99 of file LogWriter.cpp. References logLevel. |
|
|
Returns true if logging is enabled. Definition at line 105 of file LogWriter.cpp. References logLevel. |
|
|
Sets the log level. Definition at line 113 of file LogWriter.cpp. References logLevel. |
|
|
Sets the location of the log path. Definition at line 119 of file LogWriter.cpp. References logPath, and Utilities::safeCStringCopy(). |
|
|
Writes the date and time to the log. Definition at line 125 of file LogWriter.cpp. |
|
|
The amount of logging used. Definition at line 63 of file LogWriter.h. Referenced by addLog(), disableLogging(), getLogLevel(), loggingEnabled(), setLogLevel(), and writeDate(). |
|
|
Location f the log output file. Definition at line 66 of file LogWriter.h. Referenced by addLog(), setLogPath(), and writeDate(). |
1.4.4