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
332b7c0d
Commit
332b7c0d
authored
Aug 22, 2016
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
astyle
parent
4f52cc4d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
90 additions
and
99 deletions
+90
-99
include/spdlog/async_logger.h
include/spdlog/async_logger.h
+77
-77
include/spdlog/details/async_log_helper.h
include/spdlog/details/async_log_helper.h
+13
-12
tests/logs/daily_dateonly20160820.txt
tests/logs/daily_dateonly20160820.txt
+0
-10
No files found.
include/spdlog/async_logger.h
View file @
332b7c0d
include/spdlog/details/async_log_helper.h
View file @
332b7c0d
...
...
@@ -370,7 +370,8 @@ inline void spdlog::details::async_log_helper::sleep_or_yield(const spdlog::log_
inline
void
spdlog
::
details
::
async_log_helper
::
wait_empty_q
()
{
auto
last_op
=
details
::
os
::
now
();
while
(
_q
.
approx_size
()
>
0
)
{
while
(
_q
.
approx_size
()
>
0
)
{
sleep_or_yield
(
details
::
os
::
now
(),
last_op
);
}
...
...
tests/logs/daily_dateonly20160820.txt
deleted
100644 → 0
View file @
4f52cc4d
[2016-08-20 13:50:56.499] [logger] [info] Test message 0
[2016-08-20 13:50:56.499] [logger] [info] Test message 1
[2016-08-20 13:50:56.499] [logger] [info] Test message 2
[2016-08-20 13:50:56.499] [logger] [info] Test message 3
[2016-08-20 13:50:56.499] [logger] [info] Test message 4
[2016-08-20 13:50:56.499] [logger] [info] Test message 5
[2016-08-20 13:50:56.500] [logger] [info] Test message 6
[2016-08-20 13:50:56.500] [logger] [info] Test message 7
[2016-08-20 13:50:56.500] [logger] [info] Test message 8
[2016-08-20 13:50:56.500] [logger] [info] Test message 9
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