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
6e83abdb
Commit
6e83abdb
authored
Jun 28, 2019
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed stdout_sinks from spdlog.cpp for faster library compile time
parent
f03eaaaf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
30 deletions
+1
-30
include/spdlog/sinks/stdout_sinks-inl.h
include/spdlog/sinks/stdout_sinks-inl.h
+0
-4
include/spdlog/sinks/stdout_sinks.h
include/spdlog/sinks/stdout_sinks.h
+1
-2
src/spdlog.cpp
src/spdlog.cpp
+0
-24
No files found.
include/spdlog/sinks/stdout_sinks-inl.h
View file @
6e83abdb
...
...
@@ -3,10 +3,6 @@
#pragma once
#ifndef SPDLOG_HEADER_ONLY
#include "spdlog/sinks/stdout_sinks.h"
#endif
#include "spdlog/details/console_globals.h"
#include <memory>
...
...
include/spdlog/sinks/stdout_sinks.h
View file @
6e83abdb
...
...
@@ -71,6 +71,5 @@ std::shared_ptr<logger> stderr_logger_st(const std::string &logger_name);
}
// namespace spdlog
#ifdef SPDLOG_HEADER_ONLY
#include "stdout_sinks-inl.h"
#endif
src/spdlog.cpp
View file @
6e83abdb
...
...
@@ -80,30 +80,6 @@ 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
>;
template
class
spdlog
::
sinks
::
stdout_sink_base
<
spdlog
::
details
::
console_nullmutex
>;
template
class
spdlog
::
sinks
::
stdout_sink
<
spdlog
::
details
::
console_mutex
>;
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 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
);
template
std
::
shared_ptr
<
spdlog
::
logger
>
spdlog
::
stdout_logger_st
<
spdlog
::
async_factory
>
(
const
std
::
string
&
logger_name
);
template
std
::
shared_ptr
<
spdlog
::
logger
>
spdlog
::
stderr_logger_mt
<
spdlog
::
synchronous_factory
>
(
const
std
::
string
&
logger_name
);
template
std
::
shared_ptr
<
spdlog
::
logger
>
spdlog
::
stderr_logger_st
<
spdlog
::
synchronous_factory
>
(
const
std
::
string
&
logger_name
);
template
std
::
shared_ptr
<
spdlog
::
logger
>
spdlog
::
stderr_logger_mt
<
spdlog
::
async_factory
>
(
const
std
::
string
&
logger_name
);
template
std
::
shared_ptr
<
spdlog
::
logger
>
spdlog
::
stderr_logger_st
<
spdlog
::
async_factory
>
(
const
std
::
string
&
logger_name
);
// Slightly modified version of fmt lib's format.cc source file.
// Copyright (c) 2012 - 2016, Victor Zverovich
...
...
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