Public Member Functions | List of all members
LoggingStream Class Referenceabstract

Base class of logging stream plugins. More...

#include <Logger.hpp>

Public Member Functions

virtual void flush ()=0
 Flush the logging stream. More...
 
virtual void write (const LoggingSystem::LoggerString &str)=0
 Write the supplied string to the logging stream. More...
 

Detailed Description

Base class of logging stream plugins.

The built in schemes and pseudo schemes natively handled by the logging system are:

In order to handle other schemes, this class should be extended, a factory function should be created, and the factory function should be registered at application startup by calling Logger::registerLoggingStreamFactory.

Member Function Documentation

◆ flush()

virtual void flush ( )
pure virtual

Flush the logging stream.

This method must be thread safe.

◆ write()

virtual void write ( const LoggingSystem::LoggerString &  str)
pure virtual

Write the supplied string to the logging stream.

This method must be thread safe.


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