Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkItkLoggingAdapter.cpp
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
#include "
mitkItkLoggingAdapter.h
"
14
#include "
mitkLogMacros.h
"
15
16
void
mitk::ItkLoggingAdapter::Initialize
()
17
{
18
itk::OutputWindow::SetInstance(
mitk::ItkLoggingAdapter::New
());
19
}
20
21
void
mitk::ItkLoggingAdapter::DisplayText
(
const
char
*s)
22
{
23
MITK_INFO
(
"ItkLogging"
) << s;
24
}
25
26
mitk::ItkLoggingAdapter::ItkLoggingAdapter
()
27
{
28
}
29
30
mitk::ItkLoggingAdapter::~ItkLoggingAdapter
()
31
{
32
}
mitk::ItkLoggingAdapter::ItkLoggingAdapter
ItkLoggingAdapter()
Definition:
mitkItkLoggingAdapter.cpp:26
MITK_INFO
#define MITK_INFO
Definition:
mitkLogMacros.h:18
mitk::ItkLoggingAdapter::New
static Pointer New()
mitkItkLoggingAdapter.h
mitk::ItkLoggingAdapter::~ItkLoggingAdapter
~ItkLoggingAdapter() override
Definition:
mitkItkLoggingAdapter.cpp:30
mitkLogMacros.h
mitk::ItkLoggingAdapter::Initialize
static void Initialize()
Initializes the logging adapter. Itk logging messages are redirected to MITK logging afterwards...
Definition:
mitkItkLoggingAdapter.cpp:16
mitk::ItkLoggingAdapter::DisplayText
void DisplayText(const char *s) override
Definition:
mitkItkLoggingAdapter.cpp:21
Source
Modules
Core
src
IO
mitkItkLoggingAdapter.cpp
Generated on Thu Mar 12 2020 10:23:54 for Medical Imaging Interaction Toolkit by
1.8.13