Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
spdlog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
spdlog
Commits
3ee4f281
Commit
3ee4f281
authored
Nov 03, 2019
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Micro-optimze log_it_
parent
79468cf6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
logger-inl.h
include/spdlog/logger-inl.h
+1
-1
No files found.
include/spdlog/logger-inl.h
View file @
3ee4f281
...
...
@@ -172,7 +172,7 @@ SPDLOG_INLINE std::shared_ptr<logger> logger::clone(std::string logger_name)
}
// protected methods
SPDLOG_INLINE
void
logger
::
log_it_
(
const
spdlog
::
details
::
log_msg
&
log_msg
,
bool
log_enabled
,
bool
traceback_enabled
)
{}(
const
details
::
log_msg
&
log_msg
,
bool
log_enabled
,
bool
traceback_enabled
)
SPDLOG_INLINE
void
logger
::
log_it_
(
const
spdlog
::
details
::
log_msg
&
log_msg
,
bool
log_enabled
,
bool
traceback_enabled
)
{
if
(
log_enabled
)
{
...
...
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