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
40acfdfb
Commit
40acfdfb
authored
Mar 28, 2014
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small name changes
parent
88ff3144
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
common_types.h
include/c11log/common_types.h
+3
-3
line_logger.h
include/c11log/details/line_logger.h
+3
-3
No files found.
include/c11log/common_types.h
View file @
40acfdfb
...
...
@@ -29,9 +29,9 @@ inline const char* to_str(c11log::level::level_enum l)
struct
log_msg
{
log_clock
::
time_point
when
;
bufpair_t
msg_buf
;
std
::
size_t
header_size
;
bufpair_t
msg_buf
;
log_clock
::
time_point
msg_time
;
std
::
size_t
msg_
header_size
;
level
::
level_enum
msg_level
;
};
...
...
include/c11log/details/line_logger.h
View file @
40acfdfb
...
...
@@ -26,13 +26,13 @@ public:
{
if
(
enabled
)
{
_log_msg
.
when
=
log_clock
::
now
();
_log_msg
.
msg_time
=
log_clock
::
now
();
_log_msg
.
msg_level
=
msg_level
;
callback_logger
->
_formatter
->
format_header
(
callback_logger
->
_logger_name
,
_log_msg
.
msg_level
,
_log_msg
.
when
,
_log_msg
.
msg_time
,
_oss
);
_log_msg
.
header_size
=
_oss
.
size
();
_log_msg
.
msg_
header_size
=
_oss
.
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