Skip to content
Snippets Groups Projects
Commit 7967c3f3 authored by Julien Michel's avatar Julien Michel
Browse files

STY: Small fixes in otb::Logger class

parent 9243d260
No related branches found
No related tags found
1 merge request!20Refactor logging for the whole library
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment