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
5067d1c1
Commit
5067d1c1
authored
Apr 07, 2015
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed thread_id bug in async_msg struct
parent
4292d3d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
include/spdlog/details/async_log_helper.h
include/spdlog/details/async_log_helper.h
+3
-1
No files found.
include/spdlog/details/async_log_helper.h
View file @
5067d1c1
...
@@ -59,8 +59,8 @@ class async_log_helper
...
@@ -59,8 +59,8 @@ class async_log_helper
std
::
string
logger_name
;
std
::
string
logger_name
;
level
::
level_enum
level
;
level
::
level_enum
level
;
log_clock
::
time_point
time
;
log_clock
::
time_point
time
;
std
::
string
txt
;
uint64_t
thread_id
;
uint64_t
thread_id
;
std
::
string
txt
;
async_msg
()
=
default
;
async_msg
()
=
default
;
~
async_msg
()
=
default
;
~
async_msg
()
=
default
;
...
@@ -77,6 +77,7 @@ async_msg(async_msg&& other) SPDLOG_NOEXCEPT:
...
@@ -77,6 +77,7 @@ async_msg(async_msg&& other) SPDLOG_NOEXCEPT:
logger_name
=
std
::
move
(
other
.
logger_name
);
logger_name
=
std
::
move
(
other
.
logger_name
);
level
=
other
.
level
;
level
=
other
.
level
;
time
=
std
::
move
(
other
.
time
);
time
=
std
::
move
(
other
.
time
);
thread_id
=
other
.
thread_id
;
txt
=
std
::
move
(
other
.
txt
);
txt
=
std
::
move
(
other
.
txt
);
return
*
this
;
return
*
this
;
}
}
...
@@ -89,6 +90,7 @@ async_msg(async_msg&& other) SPDLOG_NOEXCEPT:
...
@@ -89,6 +90,7 @@ async_msg(async_msg&& other) SPDLOG_NOEXCEPT:
logger_name
(
m
.
logger_name
),
logger_name
(
m
.
logger_name
),
level
(
m
.
level
),
level
(
m
.
level
),
time
(
m
.
time
),
time
(
m
.
time
),
thread_id
(
m
.
thread_id
),
txt
(
m
.
raw
.
data
(),
m
.
raw
.
size
())
txt
(
m
.
raw
.
data
(),
m
.
raw
.
size
())
{}
{}
...
...
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