cee::LogDestinationFile Class Reference

Log destination that writes output to text file. More...

Public Member Functions

 LogDestinationFile (const Str &fileName)
 Constructs a file log destination. More...
 
virtual Str targetName () const
 Returns the name of this destination - the filename. More...
 
virtual void log (const LogEvent &logEvent)
 Sends a log event to the logger. More...
 
- Public Member Functions inherited from cee::RefCountedObject
void addRef () const
 Increments the reference count for this object. More...
 
void release () const
 Decrements the reference count for this object. More...
 
int refCount () const
 Returns the reference count for this object. More...
 
void setRefCountZero () const
 Sets the ref count to zero, but DOES NOT delete the object. More...
 
Inheritance diagram for cee::LogDestinationFile:
cee::LogDestination cee::RefCountedObject

Detailed Description

Log destination that writes output to text file.

Constructor & Destructor Documentation

cee::LogDestinationFile::LogDestinationFile ( const Str fileName)

Constructs a file log destination.

Member Function Documentation

void cee::LogDestinationFile::log ( const LogEvent logEvent)
virtual

Sends a log event to the logger.

Implements cee::LogDestination.

Str cee::LogDestinationFile::targetName ( ) const
virtual

Returns the name of this destination - the filename.

Implements cee::LogDestination.