Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
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 {
24  {
25  public:
28  enum class OutputType
29  {
30  Console,
31  File,
32  Other = 100
33  };
34 
35  virtual ~LogBackendBase();
36 
41  virtual void ProcessMessage(const LogMessage& message) = 0;
42 
46  virtual OutputType GetOutputType() const = 0;
47  };
48 }
49 
50 #endif
mitkLogMessage.h
mitk::LogMessage
A single log message (log event) of the MITK log mechanism.
Definition: mitkLogMessage.h:29
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
MITKLOG_EXPORT
#define MITKLOG_EXPORT
Definition: MitkLogExports.h:15
mitk::LogBackendBase::OutputType
OutputType
Definition: mitkLogBackendBase.h:28
mitk::LogBackendBase
Interface for log backends that can be registered in the MITK log mechanism.
Definition: mitkLogBackendBase.h:23
MitkLogExports.h