18#ifndef itkLoggerBase_h
19#define itkLoggerBase_h
23#include "ITKCommonExport.h"
65extern ITKCommon_EXPORT std::ostream &
67extern 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;
192 Info(std::string
const & message)
249 std::string m_HumanReadableFormat{};
252 std::string m_Name{};
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Represents an output stream.
Used for logging information during a run.
virtual void SetLevelForFlushing(PriorityLevelEnum level)
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void PrivateFlush()
virtual PriorityLevelEnum GetPriorityLevel() const
virtual PriorityLevelEnum GetLevelForFlushing() const
virtual void Write(PriorityLevelEnum level, std::string const &content)
void Error(std::string const &message)
virtual void SetPriorityLevel(PriorityLevelEnum level)
void Warning(std::string const &message)
void Fatal(std::string const &message)
virtual std::string BuildFormattedEntry(PriorityLevelEnum level, std::string const &content)
virtual void AddLogOutput(OutputType *output)
void Debug(std::string const &message)
void Info(std::string const &message)
void Critical(std::string const &message)
Base class for most ITK classes.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
ITKCommon_EXPORT std::ostream & operator<<(std::ostream &out, typename AnatomicalOrientation::CoordinateEnum value)