class LogDestination : public RefCountedObject

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.

Subclassed by LogDestinationConsole, LogDestinationFile

Public Functions

virtual Str targetName() const = 0

Returns a string to identify the logger’s target.

virtual void log(const LogEvent &logEvent) = 0

Sends event to logger.