ARC SDK
Public Member Functions | Protected Member Functions | Protected Attributes
Arc::LogDestination Class Referenceabstract

A base class for log destinations. More...

#include <arc/Logger.h>

Inheritance diagram for Arc::LogDestination:
Arc::LogFile Arc::LogStream

Public Member Functions

virtual void log (const LogMessage &message)=0
 Logs a LogMessage to this LogDestination.
 
void setFormat (const LogFormat &newformat)
 Set format for this log destination.
 

Protected Member Functions

 LogDestination ()
 Default constructor. Protected since subclasses should be used instead.
 

Protected Attributes

LogFormat format
 Format to use in this LogDestination.
 

Detailed Description

A base class for log destinations.

This class defines an interface for LogDestinations. LogDestination objects will typically contain synchronization mechanisms and should therefore never be copied. If setlocale() has been called with a supported locale, log messages will be logged in that locale.


The documentation for this class was generated from the following file: