Base class for log destinations. More...
Public Member Functions | |
virtual Str | targetName () const =0 |
Returns a string to identify the logger's target. More... | |
virtual void | log (const LogEvent &logEvent)=0 |
Sends event to 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... | |
Base class for log destinations.
Available log destinations are console and file. You can also create your own log destination by deriving from LogDestination and overriding the log method. This is useful if you already have a logging system in your application and would like to incorporate the logging message from Ceetron toolkits into your application log.
|
pure virtual |
Sends event to logger.
Implemented in cee::LogDestinationFile, and cee::LogDestinationConsole.
|
pure virtual |
Returns a string to identify the logger's target.
Implemented in cee::LogDestinationConsole, and cee::LogDestinationFile.