Commit aed0c1a4 authored by Julien Michel's avatar Julien Michel

STY: Small fixes in otb::Logger class

parent 22e93881
......@@ -42,15 +42,15 @@ public:
typedef itk::SmartPointer< Self > Pointer;
typedef itk::SmartPointer< const Self > ConstPointer;
itkTypeMacro(Logger, Object);
itkTypeMacro(Logger, itk::Logger);
itkNewMacro(Self);
// Overwrite this to provide custom formatting of log entries
std::string BuildFormattedEntry(itk::Logger::PriorityLevelType, std::string const&) ITK_OVERRIDE;
virtual std::string BuildFormattedEntry(itk::Logger::PriorityLevelType, std::string const&) ITK_OVERRIDE;
protected:
Logger();
virtual ~Logger();
virtual ~Logger() ITK_OVERRIDE;
}; // class Logger
} // namespace otb
......
......@@ -24,8 +24,7 @@
namespace otb
{
Logger::Logger() :
itk::Logger::Logger()
Logger::Logger()
{
#if OTB_DEBUG
this->SetPriorityLevel(itk::LoggerBase::DEBUG);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment