Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkLogBackendBase.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkLogBackendBase_h
14 #define mitkLogBackendBase_h
15 
16 #include <mitkLogMessage.h>
17 #include <MitkLogExports.h>
18 
19 namespace mitk
20 {
35  {
36  public:
42  enum class OutputType
43  {
44  Console,
45  File,
46  Other = 100
47  };
48 
49  virtual ~LogBackendBase();
50 
62  virtual void ProcessMessage(const LogMessage& message) = 0;
63 
70  virtual OutputType GetOutputType() const = 0;
71  };
72 }
73 
74 #endif
#define MITKLOG_EXPORT
Abstract interface for log backends that can be registered in the MITK log mechanism.
virtual ~LogBackendBase()
OutputType
Classification of the output destination of a backend.
virtual void ProcessMessage(const LogMessage &message)=0
Process a log message.
virtual OutputType GetOutputType() const =0
Return the output type of this backend.
Find image slices visible on a given plane.
A single log message (log event) of the MITK log mechanism.