Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitk::LogBackendBase Class Referenceabstract

Interface for log backends that can be registered in the MITK log mechanism. More...

#include <mitkLogBackendBase.h>

Inheritance diagram for mitk::LogBackendBase:

Public Types

enum  OutputType { OutputType::Console, OutputType::File, OutputType::Other }
 

Public Member Functions

virtual ~LogBackendBase ()
 
virtual void ProcessMessage (const LogMessage &message)=0
 Called by the MITK log mechanism if the object is registered and a log message is emitted. More...
 
virtual OutputType GetOutputType () const =0
 

Detailed Description

Interface for log backends that can be registered in the MITK log mechanism.

Definition at line 23 of file mitkLogBackendBase.h.

Member Enumeration Documentation

◆ OutputType

Type of the output of a backend.

Enumerator
Console 
File 
Other 

Definition at line 28 of file mitkLogBackendBase.h.

Constructor & Destructor Documentation

◆ ~LogBackendBase()

virtual mitk::LogBackendBase::~LogBackendBase ( )
virtual

Member Function Documentation

◆ GetOutputType()

virtual OutputType mitk::LogBackendBase::GetOutputType ( ) const
pure virtual
Returns
The type of this backend.

Implemented in mitk::LogBackend, and mitk::LogBackendCout.

◆ ProcessMessage()

virtual void mitk::LogBackendBase::ProcessMessage ( const LogMessage message)
pure virtual

Called by the MITK log mechanism if the object is registered and a log message is emitted.

Parameters
messageLogging message which was emitted.

Implemented in mitk::LogBackendText, mitk::LogBackendCout, and mitk::LogBackend.


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