This class is used for logging messages to file; typical messages are configuration loaded, seci started etc. More...
Static Public Member Functions | |
static void | WriteMessage (String source, String message) |
Method for actually writing the message to the file. If the file does not exist it is created otherwise it is appended. More... | |
Static Private Member Functions | |
static String | setupPaths () |
Method for setting up the logging directory. The log files are stored in a directory structure based on the current month and year. The filenames are formatted as year_month_day_log.txt. If the corresponding folder does not exist then it is created. More... | |
This class is used for logging messages to file; typical messages are configuration loaded, seci started etc.
Definition at line 13 of file MessageLogger.cs.
|
inlinestaticprivate |
Method for setting up the logging directory. The log files are stored in a directory structure based on the current month and year. The filenames are formatted as year_month_day_log.txt. If the corresponding folder does not exist then it is created.
Definition at line 49 of file MessageLogger.cs.
|
inlinestatic |
Method for actually writing the message to the file. If the file does not exist it is created otherwise it is appended.
source | The source of the error |
message | The message |
Definition at line 21 of file MessageLogger.cs.