Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mbilogBackendBase.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 _mbilogBackendBase_H
14 #define _mbilogBackendBase_H
15 
16 #include "mbilogExports.h"
17 #include "mbilogLogMessage.h"
18 
19 namespace mbilog
20 {
27  {
28  Console = 0,
30  Other = 100
31  };
38  {
39  public:
40  virtual ~BackendBase();
41 
49  virtual void ProcessMessage(const mbilog::LogMessage &logMessage) = 0;
50 
54  virtual OutputType GetOutputType() const = 0;
55  };
56 }
57 
58 #endif
MBILOG_EXPORT
#define MBILOG_EXPORT
Definition: mbilogExports.h:15
mbilog::LogMessage
An object of this class represents a single logging message (logging event) of the mbi logging mechan...
Definition: mbilogLogMessage.h:30
mbilog
Definition: mbilog.h:25
mbilogExports.h
mbilog::BackendBase
This class is an interface for logging backends that can be registered in the mbi logging mechanism.
Definition: mbilogBackendBase.h:37
mbilog::Console
@ Console
Definition: mbilogBackendBase.h:28
mbilog::File
@ File
Definition: mbilogBackendBase.h:29
mbilog::Other
@ Other
Definition: mbilogBackendBase.h:30
mbilog::OutputType
OutputType
Definition: mbilogBackendBase.h:26
mbilogLogMessage.h