Medical Imaging Interaction Toolkit  2023.12.99-63768887
Medical Imaging Interaction Toolkit
mitkLog.h File Reference
#include <mitkLogBackendBase.h>
#include <sstream>
#include <MitkLogExports.h>

Go to the source code of this file.

Classes

class  mitk::PseudoLogStream
 Simulates a std::cout stream. More...
 
class  mitk::NullLogStream
 Simulates a std::cout stream but does nothing. More...
 

Namespaces

 mitk
 Find image slices visible on a given plane.
 

Macros

#define MITKLOG_MODULENAME
 
#define MITK_INFO
 
#define MITK_WARN
 
#define MITK_ERROR
 
#define MITK_FATAL
 
#define MITK_DEBUG
 

Functions

void MITKLOG_EXPORT mitk::RegisterBackend (LogBackendBase *backend)
 Register a backend in the MITK log mechanism. More...
 
void MITKLOG_EXPORT mitk::UnregisterBackend (LogBackendBase *backend)
 Unregister a backend. More...
 
void MITKLOG_EXPORT mitk::DistributeToBackends (LogMessage &message)
 Distribute the given message to all registered backends. More...
 
void MITKLOG_EXPORT mitk::EnableBackends (LogBackendBase::OutputType type)
 Enable the output of a backend. More...
 
void MITKLOG_EXPORT mitk::DisableBackends (LogBackendBase::OutputType type)
 Disable the output of a backend. More...
 
bool MITKLOG_EXPORT mitk::IsBackendEnabled (LogBackendBase::OutputType type)
 Check wether the output of this backend is enabled. More...
 

Macro Definition Documentation

◆ MITK_DEBUG

#define MITK_DEBUG

Definition at line 217 of file mitkLog.h.

◆ MITK_ERROR

#define MITK_ERROR

Definition at line 211 of file mitkLog.h.

◆ MITK_FATAL

#define MITK_FATAL

Definition at line 212 of file mitkLog.h.

◆ MITK_INFO

#define MITK_INFO

Definition at line 209 of file mitkLog.h.

◆ MITK_WARN

#define MITK_WARN

Definition at line 210 of file mitkLog.h.

◆ MITKLOG_MODULENAME

#define MITKLOG_MODULENAME

Definition at line 28 of file mitkLog.h.