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
d56fa23e
Commit
d56fa23e
authored
May 21, 2017
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed compilation errors
parent
095cb1f5
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
include/spdlog/sinks/ansicolor_sink.h
include/spdlog/sinks/ansicolor_sink.h
+2
-2
include/spdlog/sinks/ostream_sink.h
include/spdlog/sinks/ostream_sink.h
+1
-1
include/spdlog/sinks/stdout_sinks.h
include/spdlog/sinks/stdout_sinks.h
+2
-2
include/spdlog/tweakme.h
include/spdlog/tweakme.h
+1
-1
No files found.
include/spdlog/sinks/ansicolor_sink.h
View file @
d56fa23e
...
@@ -39,7 +39,7 @@ public:
...
@@ -39,7 +39,7 @@ public:
}
}
virtual
~
ansicolor_sink
()
virtual
~
ansicolor_sink
()
{
{
flush
();
_
flush
();
}
}
...
@@ -61,7 +61,7 @@ protected:
...
@@ -61,7 +61,7 @@ protected:
{
{
fwrite
(
msg
.
formatted
.
data
(),
sizeof
(
char
),
msg
.
formatted
.
size
(),
target_file_
);
fwrite
(
msg
.
formatted
.
data
(),
sizeof
(
char
),
msg
.
formatted
.
size
(),
target_file_
);
}
}
flush
();
_
flush
();
}
}
void
_flush
()
override
void
_flush
()
override
...
...
include/spdlog/sinks/ostream_sink.h
View file @
d56fa23e
...
@@ -32,7 +32,7 @@ protected:
...
@@ -32,7 +32,7 @@ protected:
_ostream
.
flush
();
_ostream
.
flush
();
}
}
void
flush
()
override
void
_
flush
()
override
{
{
_ostream
.
flush
();
_ostream
.
flush
();
}
}
...
...
include/spdlog/sinks/stdout_sinks.h
View file @
d56fa23e
...
@@ -33,7 +33,7 @@ protected:
...
@@ -33,7 +33,7 @@ protected:
void
_sink_it
(
const
details
::
log_msg
&
msg
)
override
void
_sink_it
(
const
details
::
log_msg
&
msg
)
override
{
{
fwrite
(
msg
.
formatted
.
data
(),
sizeof
(
char
),
msg
.
formatted
.
size
(),
stdout
);
fwrite
(
msg
.
formatted
.
data
(),
sizeof
(
char
),
msg
.
formatted
.
size
(),
stdout
);
flush
();
_
flush
();
}
}
void
_flush
()
override
void
_flush
()
override
...
@@ -62,7 +62,7 @@ protected:
...
@@ -62,7 +62,7 @@ protected:
void
_sink_it
(
const
details
::
log_msg
&
msg
)
override
void
_sink_it
(
const
details
::
log_msg
&
msg
)
override
{
{
fwrite
(
msg
.
formatted
.
data
(),
sizeof
(
char
),
msg
.
formatted
.
size
(),
stderr
);
fwrite
(
msg
.
formatted
.
data
(),
sizeof
(
char
),
msg
.
formatted
.
size
(),
stderr
);
flush
();
_
flush
();
}
}
void
_flush
()
override
void
_flush
()
override
...
...
include/spdlog/tweakme.h
View file @
d56fa23e
...
@@ -125,5 +125,5 @@
...
@@ -125,5 +125,5 @@
// Uncomment to enable message counting feature. Adds %i logger pattern that
// Uncomment to enable message counting feature. Adds %i logger pattern that
// prints log message sequence id.
// prints log message sequence id.
//
//
//
#define SPDLOG_ENABLE_MESSAGE_COUNTER
#define SPDLOG_ENABLE_MESSAGE_COUNTER
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
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