Sends logging messages to a file. More...
Public Member Functions | |
| LoggerFileHandler (cadex.UTF16String theFileName) | |
| Constructor. | |
| bool | IsValid () |
| Returns true if the output file is in a valid state. | |
| override void | Append (cadex.UTF16String theMessage) |
| Outputs a message into the file. | |
Public Member Functions inherited from cadex.Utilities.LoggerHandler | |
| void | Dispose () |
| void | Append (cadex.UTF16String theMessage) |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
Sends logging messages to a file.
The file name can be specified with ascii or Unicode symbols.
IsValid() returns true if the file has been successfully opened and can be used for output.
|
inlineprotectedvirtual |
Reimplemented from cadex.Utilities.LoggerHandler.
|
inline |
Returns true if the output file is in a valid state.
Returns false if the file could not be opened or some other error occured.