Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
spdlog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
spdlog
Commits
ae92279f
Unverified
Commit
ae92279f
authored
Jul 06, 2019
by
Matthias Moulin
Committed by
GitHub
Jul 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update spdlog.h
parent
be33f5eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
spdlog.h
include/spdlog/spdlog.h
+15
-15
No files found.
include/spdlog/spdlog.h
View file @
ae92279f
...
...
@@ -115,49 +115,49 @@ spdlog::logger *default_logger_raw();
void
set_default_logger
(
std
::
shared_ptr
<
spdlog
::
logger
>
default_logger
);
template
<
typename
...
Args
>
inline
void
log
(
source_loc
source
,
level
::
level_enum
lvl
,
const
char
*
fmt
,
const
Args
&
...
args
)
inline
void
log
(
source_loc
source
,
level
::
level_enum
lvl
,
string_view_t
fmt
,
const
Args
&
...
args
)
{
default_logger_raw
()
->
log
(
source
,
lvl
,
fmt
,
args
...);
}
template
<
typename
...
Args
>
inline
void
log
(
level
::
level_enum
lvl
,
const
char
*
fmt
,
const
Args
&
...
args
)
inline
void
log
(
level
::
level_enum
lvl
,
string_view_t
fmt
,
const
Args
&
...
args
)
{
default_logger_raw
()
->
log
(
source_loc
{},
lvl
,
fmt
,
args
...);
}
template
<
typename
...
Args
>
inline
void
trace
(
const
char
*
fmt
,
const
Args
&
...
args
)
inline
void
trace
(
string_view_t
fmt
,
const
Args
&
...
args
)
{
default_logger_raw
()
->
trace
(
fmt
,
args
...);
}
template
<
typename
...
Args
>
inline
void
debug
(
const
char
*
fmt
,
const
Args
&
...
args
)
inline
void
debug
(
string_view_t
fmt
,
const
Args
&
...
args
)
{
default_logger_raw
()
->
debug
(
fmt
,
args
...);
}
template
<
typename
...
Args
>
inline
void
info
(
const
char
*
fmt
,
const
Args
&
...
args
)
inline
void
info
(
string_view_t
fmt
,
const
Args
&
...
args
)
{
default_logger_raw
()
->
info
(
fmt
,
args
...);
}
template
<
typename
...
Args
>
inline
void
warn
(
const
char
*
fmt
,
const
Args
&
...
args
)
inline
void
warn
(
string_view_t
fmt
,
const
Args
&
...
args
)
{
default_logger_raw
()
->
warn
(
fmt
,
args
...);
}
template
<
typename
...
Args
>
inline
void
error
(
const
char
*
fmt
,
const
Args
&
...
args
)
inline
void
error
(
string_view_t
fmt
,
const
Args
&
...
args
)
{
default_logger_raw
()
->
error
(
fmt
,
args
...);
}
template
<
typename
...
Args
>
inline
void
critical
(
const
char
*
fmt
,
const
Args
&
...
args
)
inline
void
critical
(
string_view_t
fmt
,
const
Args
&
...
args
)
{
default_logger_raw
()
->
critical
(
fmt
,
args
...);
}
...
...
@@ -206,43 +206,43 @@ inline void critical(const T &msg)
#ifdef SPDLOG_WCHAR_TO_UTF8_SUPPORT
template
<
typename
...
Args
>
inline
void
log
(
level
::
level_enum
lvl
,
const
wchar_t
*
fmt
,
const
Args
&
...
args
)
inline
void
log
(
level
::
level_enum
lvl
,
wstring_view_t
fmt
,
const
Args
&
...
args
)
{
default_logger_raw
()
->
log
(
lvl
,
fmt
,
args
...);
}
template
<
typename
...
Args
>
inline
void
trace
(
const
wchar_t
*
fmt
,
const
Args
&
...
args
)
inline
void
trace
(
wstring_view_t
fmt
,
const
Args
&
...
args
)
{
default_logger_raw
()
->
trace
(
fmt
,
args
...);
}
template
<
typename
...
Args
>
inline
void
debug
(
const
wchar_t
*
fmt
,
const
Args
&
...
args
)
inline
void
debug
(
wstring_view_t
fmt
,
const
Args
&
...
args
)
{
default_logger_raw
()
->
debug
(
fmt
,
args
...);
}
template
<
typename
...
Args
>
inline
void
info
(
const
wchar_t
*
fmt
,
const
Args
&
...
args
)
inline
void
info
(
wstring_view_t
fmt
,
const
Args
&
...
args
)
{
default_logger_raw
()
->
info
(
fmt
,
args
...);
}
template
<
typename
...
Args
>
inline
void
warn
(
const
wchar_t
*
fmt
,
const
Args
&
...
args
)
inline
void
warn
(
wstring_view_t
fmt
,
const
Args
&
...
args
)
{
default_logger_raw
()
->
warn
(
fmt
,
args
...);
}
template
<
typename
...
Args
>
inline
void
error
(
const
wchar_t
*
fmt
,
const
Args
&
...
args
)
inline
void
error
(
wstring_view_t
fmt
,
const
Args
&
...
args
)
{
default_logger_raw
()
->
error
(
fmt
,
args
...);
}
template
<
typename
...
Args
>
inline
void
critical
(
const
wchar_t
*
fmt
,
const
Args
&
...
args
)
inline
void
critical
(
wstring_view_t
fmt
,
const
Args
&
...
args
)
{
default_logger_raw
()
->
critical
(
fmt
,
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