Medical Imaging Interaction Toolkit  2016.11.0
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,
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 
21 {
22  itk::OutputWindow::SetInstance(mitk::ItkLoggingAdapter::New());
23 }
24 
26 {
27  MITK_INFO("ItkLogging") << s;
28 }
29 
31 {
32 }
33 
35 {
36 }
#define MITK_INFO
Definition: mitkLogMacros.h:22
static Pointer New()
static void Initialize()
Initializes the logging adapter. Itk logging messages are redirected to MITK logging afterwards...
virtual void DisplayText(const char *s) override