Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spdlog
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
spdlog
Commits
4c45c6fb
Commit
4c45c6fb
authored
Sep 05, 2019
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed redundant func
parent
172cf26d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
10 deletions
+3
-10
include/spdlog/logger-inl.h
include/spdlog/logger-inl.h
+0
-5
include/spdlog/logger.h
include/spdlog/logger.h
+3
-5
No files found.
include/spdlog/logger-inl.h
View file @
4c45c6fb
...
@@ -199,11 +199,6 @@ SPDLOG_INLINE void logger::flush_()
...
@@ -199,11 +199,6 @@ SPDLOG_INLINE void logger::flush_()
}
}
}
}
SPDLOG_INLINE
void
logger
::
backtrace_add_
(
const
details
::
log_msg
&
msg
)
{
tracer_
.
push_back
(
msg
);
}
SPDLOG_INLINE
void
logger
::
dump_backtrace_
()
SPDLOG_INLINE
void
logger
::
dump_backtrace_
()
{
{
using
details
::
log_msg
;
using
details
::
log_msg
;
...
...
include/spdlog/logger.h
View file @
4c45c6fb
...
@@ -93,7 +93,7 @@ public:
...
@@ -93,7 +93,7 @@ public:
}
}
if
(
tracer_
)
if
(
tracer_
)
{
{
backtrace_add_
(
log_msg
);
tracer_
.
push_back
(
log_msg
);
}
}
}
}
SPDLOG_LOGGER_CATCH
()
SPDLOG_LOGGER_CATCH
()
...
@@ -165,7 +165,7 @@ public:
...
@@ -165,7 +165,7 @@ public:
}
}
if
(
tracer_
)
if
(
tracer_
)
{
{
backtrace_add_
(
log_msg
);
tracer_
.
push_back
(
log_msg
);
}
}
}
}
SPDLOG_LOGGER_CATCH
()
SPDLOG_LOGGER_CATCH
()
...
@@ -250,7 +250,7 @@ public:
...
@@ -250,7 +250,7 @@ public:
}
}
if
(
tracer_
)
if
(
tracer_
)
{
{
backtrace_add_
(
log_msg
);
tracer_
.
push_back
(
log_msg
);
}
}
}
}
SPDLOG_LOGGER_CATCH
()
SPDLOG_LOGGER_CATCH
()
...
@@ -366,8 +366,6 @@ protected:
...
@@ -366,8 +366,6 @@ protected:
virtual
void
sink_it_
(
const
details
::
log_msg
&
msg
);
virtual
void
sink_it_
(
const
details
::
log_msg
&
msg
);
virtual
void
flush_
();
virtual
void
flush_
();
void
backtrace_add_
(
const
details
::
log_msg
&
msg
);
void
dump_backtrace_
();
void
dump_backtrace_
();
bool
should_flush_
(
const
details
::
log_msg
&
msg
);
bool
should_flush_
(
const
details
::
log_msg
&
msg
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment