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
102c31a0
Commit
102c31a0
authored
Oct 04, 2018
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Accecpt iterators by value in logger ctor insted of ref
parent
10000c38
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
include/spdlog/async_logger.h
include/spdlog/async_logger.h
+1
-1
include/spdlog/details/async_logger_impl.h
include/spdlog/details/async_logger_impl.h
+1
-1
include/spdlog/details/logger_impl.h
include/spdlog/details/logger_impl.h
+1
-1
include/spdlog/logger.h
include/spdlog/logger.h
+1
-1
No files found.
include/spdlog/async_logger.h
View file @
102c31a0
...
...
@@ -46,7 +46,7 @@ class async_logger final : public std::enable_shared_from_this<async_logger>, pu
public:
template
<
typename
It
>
async_logger
(
std
::
string
logger_name
,
const
It
&
begin
,
const
It
&
end
,
std
::
weak_ptr
<
details
::
thread_pool
>
tp
,
async_logger
(
std
::
string
logger_name
,
It
begin
,
It
end
,
std
::
weak_ptr
<
details
::
thread_pool
>
tp
,
async_overflow_policy
overflow_policy
=
async_overflow_policy
::
block
);
async_logger
(
std
::
string
logger_name
,
sinks_init_list
sinks_list
,
std
::
weak_ptr
<
details
::
thread_pool
>
tp
,
...
...
include/spdlog/details/async_logger_impl.h
View file @
102c31a0
...
...
@@ -16,7 +16,7 @@
template
<
typename
It
>
inline
spdlog
::
async_logger
::
async_logger
(
std
::
string
logger_name
,
const
It
&
begin
,
const
It
&
end
,
std
::
weak_ptr
<
details
::
thread_pool
>
tp
,
async_overflow_policy
overflow_policy
)
std
::
string
logger_name
,
It
begin
,
It
end
,
std
::
weak_ptr
<
details
::
thread_pool
>
tp
,
async_overflow_policy
overflow_policy
)
:
logger
(
std
::
move
(
logger_name
),
begin
,
end
)
,
thread_pool_
(
tp
)
,
overflow_policy_
(
overflow_policy
)
...
...
include/spdlog/details/logger_impl.h
View file @
102c31a0
...
...
@@ -13,7 +13,7 @@
// create logger with given name, sinks and the default pattern formatter
// all other ctors will call this one
template
<
typename
It
>
inline
spdlog
::
logger
::
logger
(
std
::
string
logger_name
,
const
It
&
begin
,
const
It
&
end
)
inline
spdlog
::
logger
::
logger
(
std
::
string
logger_name
,
It
begin
,
It
end
)
:
name_
(
std
::
move
(
logger_name
))
,
sinks_
(
begin
,
end
)
,
level_
(
level
::
info
)
...
...
include/spdlog/logger.h
View file @
102c31a0
...
...
@@ -36,7 +36,7 @@ public:
logger
(
std
::
string
name
,
sinks_init_list
sinks
);
template
<
typename
It
>
logger
(
std
::
string
name
,
const
It
&
begin
,
const
It
&
end
);
logger
(
std
::
string
name
,
It
begin
,
It
end
);
virtual
~
logger
();
...
...
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