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(
const std::string & 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
void Info(const std::string &message)
virtual void PrivateFlush()
void Fatal(const std::string &message)
virtual PriorityLevelEnum GetPriorityLevel() const
virtual PriorityLevelEnum GetLevelForFlushing() const
virtual void Write(PriorityLevelEnum level, const std::string &content)
void Critical(const std::string &message)
virtual void SetPriorityLevel(PriorityLevelEnum level)
virtual std::string BuildFormattedEntry(PriorityLevelEnum level, const std::string &content)
virtual void AddLogOutput(OutputType *output)
void Warning(const std::string &message)
void Debug(const std::string &message)
void Error(const std::string &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)