Hide menu
Loading...
Searching...
No Matches
cadex.Utilities.LoggerFileHandler Class Reference

Sends logging messages to a file. More...

Inheritance diagram for cadex.Utilities.LoggerFileHandler:
cadex.Utilities.LoggerHandler

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)
 

Detailed Description

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.

Member Function Documentation

◆ Dispose()

override void cadex.Utilities.LoggerFileHandler.Dispose ( bool disposing)
inlineprotectedvirtual

Reimplemented from cadex.Utilities.LoggerHandler.

◆ IsValid()

bool cadex.Utilities.LoggerFileHandler.IsValid ( )
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.