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... | |
![]() | |
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... | |
Log destination that writes output to text file.
cee::LogDestinationFile::LogDestinationFile | ( | const Str & | fileName | ) |
Constructs a file log destination.
|
virtual |
Sends a log event to the logger.
Implements cee::LogDestination.
|
virtual |
Returns the name of this destination - the filename.
Implements cee::LogDestination.