OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | List of all members
LogSource Class Referenceabstract

#include <LogSource.h>

Inheritance diagram for LogSource:
FFmpegLogSource SdlLogSource

Public Member Functions

virtual ~LogSource ()=default
 
virtual LogLevel level () const =0
 
virtual void setLevel (LogLevel level)=0
 

Detailed Description

When integrating an external log source into the logging framework, you would usually need:

  1. To forward external log messages into Logger.
  2. To control the log level of the external log source.

This class is an abstraction for #2.

Constructor & Destructor Documentation

◆ ~LogSource()

virtual LogSource::~LogSource ( )
virtualdefault

Member Function Documentation

◆ level()

virtual LogLevel LogSource::level ( ) const
pure virtual

Implemented in SdlLogSource, and FFmpegLogSource.

◆ setLevel()

virtual void LogSource::setLevel ( LogLevel  level)
pure virtual

Implemented in SdlLogSource, and FFmpegLogSource.


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