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
7cbf832c
Commit
7cbf832c
authored
May 20, 2018
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comments
parent
58b1c2f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
async_log_helper.h
include/spdlog/details/async_log_helper.h
+2
-3
No files found.
include/spdlog/details/async_log_helper.h
View file @
7cbf832c
...
...
@@ -190,8 +190,7 @@ inline spdlog::details::async_log_helper::async_log_helper(formatter_ptr formatt
_worker_thread
=
std
::
thread
(
&
async_log_helper
::
worker_loop
,
this
);
}
// Send to the worker thread termination message(level=off)
// and wait for it to finish gracefully
// send to the worker thread terminate message, and join it.
inline
spdlog
::
details
::
async_log_helper
::~
async_log_helper
()
{
try
...
...
@@ -204,7 +203,7 @@ inline spdlog::details::async_log_helper::~async_log_helper()
}
}
//
T
ry to push and block until succeeded (if the policy is not to discard when the queue is full)
//
t
ry to push and block until succeeded (if the policy is not to discard when the queue is full)
inline
void
spdlog
::
details
::
async_log_helper
::
log
(
const
details
::
log_msg
&
msg
)
{
enqueue_msg
(
async_msg
(
msg
),
_overflow_policy
);
...
...
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