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
{
33
class
MITKLOG_EXPORT
LogBackendCout
:
public
LogBackendText
34
{
35
public
:
37
LogBackendCout
();
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
MITKLOG_EXPORT
#define MITKLOG_EXPORT
Definition:
MitkLogExports.h:15
mitk::LogBackendBase::OutputType
OutputType
Classification of the output destination of a backend.
Definition:
mitkLogBackendBase.h:43
mitk::LogBackendCout
Default console backend of the MITK log mechanism.
Definition:
mitkLogBackendCout.h:34
mitk::LogBackendCout::~LogBackendCout
~LogBackendCout() override
mitk::LogBackendCout::LogBackendCout
LogBackendCout()
Construct a console backend with smart/short formatting mode (default).
mitk::LogBackendCout::SetFull
void SetFull(bool full)
Set the formatting mode.
mitk::LogBackendCout::ProcessMessage
void ProcessMessage(const LogMessage &message) override
Format and write the log message to std::cout.
mitk::LogBackendCout::GetOutputType
OutputType GetOutputType() const override
Return the output type of this backend.
mitk::LogBackendText
Abstract superclass for text-based log backends.
Definition:
mitkLogBackendText.h:40
mitkLogBackendText.h
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::LogMessage
A single log message (log event) of the MITK log mechanism.
Definition:
mitkLogMessage.h:37
src
MITK
Modules
Log
include
mitkLogBackendCout.h
Generated by
1.9.1