7 #include <fwCore/base.hpp> 9 #include <itkOutputWindow.h> 18 typedef ::itk::SmartPointer<Self> Pointer;
24 virtual void DisplayText(
const char* _txt)
override;
25 virtual void DisplayErrorText(
const char* _txt)
override;
26 virtual void DisplayWarningText(
const char* _txt)
override;
27 virtual void DisplayDebugText(
const char* _txt)
override;
36 ItkLogger::Pointer ItkLogger::New()
38 return ItkLogger::Pointer(
new ItkLogger());
43 ItkLogger::ItkLogger()
50 ItkLogger::~ItkLogger()
57 void ItkLogger::DisplayText(
const char* _txt)
64 void ItkLogger::DisplayErrorText(
const char* _txt)
71 void ItkLogger::DisplayWarningText(
const char* _txt)
78 void ItkLogger::DisplayDebugText(
const char* _txt)
89 ItkLogger::Pointer logger = ItkLogger::New();
90 ::itk::OutputWindow::SetInstance(logger);
#define OSLM_INFO(message)
#define OSLM_ERROR(message)
Outputs ITK messages to the fw4spl log.
#define OSLM_WARN(message)
#define OSLM_DEBUG(message)