Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkLogBackendCout.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 mitkLogBackendCout_h
14 #define mitkLogBackendCout_h
15 
16 #include <mitkLogBackendText.h>
17 
18 namespace mitk
19 {
34  {
35  public:
38 
39  ~LogBackendCout() override;
40 
47  void ProcessMessage(const LogMessage &message) override;
48 
57  void SetFull(bool full);
58 
63  OutputType GetOutputType() const override;
64 
65  private:
66  bool m_UseFullOutput;
67  };
68 }
69 
70 #endif
#define MITKLOG_EXPORT
OutputType
Classification of the output destination of a backend.
Default console backend of the MITK log mechanism.
~LogBackendCout() override
LogBackendCout()
Construct a console backend with smart/short formatting mode (default).
void SetFull(bool full)
Set the formatting mode.
void ProcessMessage(const LogMessage &message) override
Format and write the log message to std::cout.
OutputType GetOutputType() const override
Return the output type of this backend.
Abstract superclass for text-based log backends.
Find image slices visible on a given plane.
A single log message (log event) of the MITK log mechanism.