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 false if the file could not be opened or some other error occured.
 
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.

Constructor & Destructor Documentation

◆ LoggerFileHandler()

cadex.Utilities.LoggerFileHandler.LoggerFileHandler ( cadex.UTF16String theFileName)
inline

Constructor.

Member Function Documentation

◆ Append()

override void cadex.Utilities.LoggerFileHandler.Append ( cadex.UTF16String theMessage)
inline

Outputs a message into the file.

◆ Dispose()

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

Reimplemented from cadex.Utilities.LoggerHandler.

◆ IsValid()

bool cadex.Utilities.LoggerFileHandler.IsValid ( )
inline

Returns false if the file could not be opened or some other error occured.

Returns true if the output file is in a valid state.