Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main Repositories
otb
Commits
7967c3f3
Commit
7967c3f3
authored
7 years ago
by
Julien Michel
Browse files
Options
Downloads
Patches
Plain Diff
STY: Small fixes in otb::Logger class
parent
9243d260
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!20
Refactor logging for the whole library
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Modules/Core/Common/include/otbLogger.h
+3
-3
3 additions, 3 deletions
Modules/Core/Common/include/otbLogger.h
Modules/Core/Common/src/otbLogger.cxx
+1
-2
1 addition, 2 deletions
Modules/Core/Common/src/otbLogger.cxx
with
4 additions
and
5 deletions
Modules/Core/Common/include/otbLogger.h
+
3
−
3
View file @
7967c3f3
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Modules/Core/Common/src/otbLogger.cxx
+
1
−
2
View file @
7967c3f3
...
...
@@ -24,8 +24,7 @@
namespace
otb
{
Logger
::
Logger
()
:
itk
::
Logger
::
Logger
()
Logger
::
Logger
()
{
#if OTB_DEBUG
this
->
SetPriorityLevel
(
itk
::
LoggerBase
::
DEBUG
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment