|
|
Constructor method. If the log file does not exist, then it is created with a header that contains a specific ID. If the full path is not included then the log file will be written to the active directory. If the file does indeed exist, with matching ID, then log entries will be appended. If the file exists, but is not a valid ZLogger file, or has a different ID, then a new log filename will be created with a unique numerical suffix. No fancy header parsing is implemented, so beware of tampering with the log file headers! - Parameters:
-
| logID | Log file identifier. This identifier is written to the log file header for identification purposes. |
| filename | The name of the log file. |
- Returns:
- None. If the log file cannot be created or verified, then entries will not be logged.
|