18 #ifndef __itkLoggerBase_h
19 #define __itkLoggerBase_h
63 itkSetStringMacro(Name);
64 itkGetStringMacro(Name);
70 } TimeStampFormatType;
81 itkSetMacro(TimeStampFormat, TimeStampFormatType);
82 itkGetConstReferenceMacro(TimeStampFormat, TimeStampFormatType);
93 itkSetStringMacro(HumanReadableFormat);
94 itkGetStringMacro(HumanReadableFormat);
98 virtual std::string BuildFormattedEntry(PriorityLevelType level,
99 std::string
const & content);
106 m_PriorityLevel = level;
114 return m_PriorityLevel;
119 m_LevelForFlushing = level;
124 return m_LevelForFlushing;
128 virtual void AddLogOutput(OutputType *output);
130 virtual void Write(PriorityLevelType level, std::string
const & content);
133 void Debug(std::string
const & message)
138 void Info(std::string
const & message)
143 void Warning(std::string
const & message)
148 void Critical(std::string
const & message)
153 void Error(std::string
const & message)
158 void Fatal(std::string
const & message)
163 virtual void Flush();
174 virtual void PrintSelf(std::ostream & os,
Indent indent)
const;
195 #endif // __itkLoggerBase_h