18 #ifndef itkLoggerBase_h
19 #define itkLoggerBase_h
23 #include "ITKCommonExport.h"
25 # undef DEBUG // HDF5 publicly exports this define when built in debug mode
65 extern ITKCommon_EXPORT std::ostream &
67 extern ITKCommon_EXPORT std::ostream &
95 #if !defined(ITK_LEGACY_REMOVE)
107 itkSetStringMacro(Name);
108 itkGetStringMacro(Name);
111 #if !defined(ITK_LEGACY_REMOVE)
139 itkSetStringMacro(HumanReadableFormat);
140 itkGetStringMacro(HumanReadableFormat);
153 m_PriorityLevel = level;
159 virtual PriorityLevelEnum
162 return m_PriorityLevel;
168 m_LevelForFlushing = level;
171 virtual PriorityLevelEnum
174 return m_LevelForFlushing;
179 AddLogOutput(OutputType * output);
182 Write(PriorityLevelEnum level, std::string
const & content);
192 Info(std::string
const & message)
233 PrintSelf(std::ostream & os,
Indent indent)
const override;
253 #endif // itkLoggerBase_h