Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
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,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#include "
mitkItkLoggingAdapter.h
"
18
#include "
mitkLogMacros.h
"
19
20
void
mitk::ItkLoggingAdapter::Initialize
()
21
{
22
itk::OutputWindow::SetInstance(
mitk::ItkLoggingAdapter::New
());
23
}
24
25
void
mitk::ItkLoggingAdapter::DisplayText
(
const
char
*s)
26
{
27
MITK_INFO
(
"ItkLogging"
) << s;
28
}
29
30
mitk::ItkLoggingAdapter::ItkLoggingAdapter
()
31
{
32
}
33
34
mitk::ItkLoggingAdapter::~ItkLoggingAdapter
()
35
{
36
}
mitk::ItkLoggingAdapter::ItkLoggingAdapter
ItkLoggingAdapter()
Definition:
mitkItkLoggingAdapter.cpp:30
MITK_INFO
#define MITK_INFO
Definition:
mitkLogMacros.h:22
mitk::ItkLoggingAdapter::New
static Pointer New()
mitkItkLoggingAdapter.h
mitk::ItkLoggingAdapter::~ItkLoggingAdapter
virtual ~ItkLoggingAdapter()
Definition:
mitkItkLoggingAdapter.cpp:34
mitkLogMacros.h
mitk::ItkLoggingAdapter::Initialize
static void Initialize()
Initializes the logging adapter. Itk logging messages are redirected to MITK logging afterwards...
Definition:
mitkItkLoggingAdapter.cpp:20
mitk::ItkLoggingAdapter::DisplayText
virtual void DisplayText(const char *s) override
Definition:
mitkItkLoggingAdapter.cpp:25
git
MITK
Modules
Core
src
IO
mitkItkLoggingAdapter.cpp
Generated on Fri Feb 3 2017 20:52:01 for Medical Imaging Interaction Toolkit by
1.8.9.1