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
fae9e86a
Commit
fae9e86a
authored
Oct 15, 2014
by
gabi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixes
parent
650486a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
include/c11log/details/flush_helper.h
include/c11log/details/flush_helper.h
+1
-1
include/c11log/logger.h
include/c11log/logger.h
+1
-1
No files found.
include/c11log/details/flush_helper.h
View file @
fae9e86a
...
...
@@ -16,7 +16,7 @@ public:
file_flush_helper
(
const
file_flush_helper
&
)
=
delete
;
void
write
(
const
log_msg
msg
,
std
::
ofstream
&
ofs
)
void
write
(
const
log_msg
&
msg
,
std
::
ofstream
&
ofs
)
{
auto
buf
=
msg
.
formatted
.
buf
();
ofs
.
write
(
buf
.
data
(),
buf
.
size
());
...
...
include/c11log/logger.h
View file @
fae9e86a
...
...
@@ -114,7 +114,7 @@ inline c11log::logger::logger(const std::string& logger_name, const It& begin, c
template
<
typename
...
Args
>
inline
c11log
::
details
::
line_logger
c11log
::
logger
::
log
(
level
::
level_enum
lvl
,
const
Args
&
...
args
)
{
details
::
line_logger
l
(
this
,
lvl
,
true
);
details
::
line_logger
l
(
this
,
lvl
,
should_log
(
lvl
)
);
_variadic_log
(
l
,
args
...);
return
l
;
}
...
...
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