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
6399e052
Commit
6399e052
authored
Jun 20, 2019
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clang-format
parent
08de6425
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
src/spdlog.cpp
src/spdlog.cpp
+7
-3
tests/test_stdout_api.cpp
tests/test_stdout_api.cpp
+0
-2
No files found.
src/spdlog.cpp
View file @
6399e052
...
...
@@ -43,6 +43,9 @@ template class spdlog::sinks::rotating_file_sink<spdlog::details::null_mutex>;
#include "spdlog/details/thread_pool-inl.h"
template
class
spdlog
::
details
::
mpmc_blocking_queue
<
spdlog
::
details
::
async_msg
>;
//
// color sinks
//
#ifdef _WIN32
#include "spdlog/sinks/wincolor_sink-inl.h"
template
class
spdlog
::
sinks
::
wincolor_sink
<
spdlog
::
details
::
console_mutex
>;
...
...
@@ -61,7 +64,7 @@ template class spdlog::sinks::ansicolor_stderr_sink<spdlog::details::console_mut
template
class
spdlog
::
sinks
::
ansicolor_stderr_sink
<
spdlog
::
details
::
console_nullmutex
>;
#endif
// factory methods for color
sink
s
// factory methods for color
logger
s
#include "spdlog/sinks/stdout_color_sinks-inl.h"
template
std
::
shared_ptr
<
spdlog
::
logger
>
spdlog
::
stdout_color_mt
<
spdlog
::
synchronous_factory
>(
const
std
::
string
&
logger_name
,
color_mode
mode
);
...
...
@@ -77,8 +80,9 @@ template std::shared_ptr<spdlog::logger> spdlog::stdout_color_st<spdlog::async_f
template
std
::
shared_ptr
<
spdlog
::
logger
>
spdlog
::
stderr_color_mt
<
spdlog
::
async_factory
>
(
const
std
::
string
&
logger_name
,
color_mode
mode
);
template
std
::
shared_ptr
<
spdlog
::
logger
>
spdlog
::
stderr_color_st
<
spdlog
::
async_factory
>
(
const
std
::
string
&
logger_name
,
color_mode
mode
);
//
// stdout/stderr sinks
//
#include "spdlog/sinks/stdout_sinks-inl.h"
template
class
spdlog
::
sinks
::
stdout_sink_base
<
spdlog
::
details
::
console_mutex
>;
...
...
@@ -90,7 +94,7 @@ template class spdlog::sinks::stdout_sink<spdlog::details::console_nullmutex>;
template
class
spdlog
::
sinks
::
stderr_sink
<
spdlog
::
details
::
console_mutex
>;
template
class
spdlog
::
sinks
::
stderr_sink
<
spdlog
::
details
::
console_nullmutex
>;
// factory methods
// factory methods
for stdout/stderr loggers
template
std
::
shared_ptr
<
spdlog
::
logger
>
spdlog
::
stdout_logger_mt
<
spdlog
::
synchronous_factory
>
(
const
std
::
string
&
logger_name
);
template
std
::
shared_ptr
<
spdlog
::
logger
>
spdlog
::
stdout_logger_st
<
spdlog
::
synchronous_factory
>
(
const
std
::
string
&
logger_name
);
template
std
::
shared_ptr
<
spdlog
::
logger
>
spdlog
::
stdout_logger_mt
<
spdlog
::
async_factory
>
(
const
std
::
string
&
logger_name
);
...
...
tests/test_stdout_api.cpp
View file @
6399e052
...
...
@@ -22,7 +22,6 @@ TEST_CASE("stdout_mt", "[stdout]")
spdlog
::
drop_all
();
}
TEST_CASE
(
"stderr_st"
,
"[stderr]"
)
{
auto
l
=
spdlog
::
stderr_logger_st
(
"test"
);
...
...
@@ -60,7 +59,6 @@ TEST_CASE("stdout_color_mt", "[stdout]")
spdlog
::
drop_all
();
}
TEST_CASE
(
"stderr_color_st"
,
"[stderr]"
)
{
auto
l
=
spdlog
::
stderr_color_st
(
"test"
);
...
...
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