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
59cbdaaf
Unverified
Commit
59cbdaaf
authored
Jul 24, 2019
by
Charles Milette
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more source_loc overloads in spdlog namespace
parent
e0cf16b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
include/spdlog/spdlog.h
include/spdlog/spdlog.h
+12
-0
No files found.
include/spdlog/spdlog.h
View file @
59cbdaaf
...
...
@@ -162,6 +162,12 @@ inline void critical(string_view_t fmt, const Args &... args)
default_logger_raw
()
->
critical
(
fmt
,
args
...);
}
template
<
typename
T
>
inline
void
log
(
source_loc
source
,
level
::
level_enum
lvl
,
const
T
&
msg
)
{
default_logger_raw
()
->
log
(
source
,
lvl
,
msg
);
}
template
<
typename
T
>
inline
void
log
(
level
::
level_enum
lvl
,
const
T
&
msg
)
{
...
...
@@ -205,6 +211,12 @@ inline void critical(const T &msg)
}
#ifdef SPDLOG_WCHAR_TO_UTF8_SUPPORT
template
<
typename
...
Args
>
inline
void
log
(
source_loc
source
,
level
::
level_enum
lvl
,
wstring_view_t
fmt
,
const
Args
&
...
args
)
{
default_logger_raw
()
->
log
(
source
,
lvl
,
fmt
,
args
...);
}
template
<
typename
...
Args
>
inline
void
log
(
level
::
level_enum
lvl
,
wstring_view_t
fmt
,
const
Args
&
...
args
)
{
...
...
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