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
775e410b
Commit
775e410b
authored
Jul 07, 2018
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed issue #747
parent
c9331594
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
18 deletions
+18
-18
logger_impl.h
include/spdlog/details/logger_impl.h
+12
-12
logger.h
include/spdlog/logger.h
+6
-6
No files found.
include/spdlog/details/logger_impl.h
View file @
775e410b
...
...
@@ -101,39 +101,39 @@ inline void spdlog::logger::log(level::level_enum lvl, const T &msg)
}
template
<
typename
Arg1
,
typename
...
Args
>
inline
void
spdlog
::
logger
::
trace
(
const
char
*
fmt
,
const
Arg
1
&
arg1
,
const
Arg
s
&
...
args
)
inline
void
spdlog
::
logger
::
trace
(
const
char
*
fmt
,
const
Args
&
...
args
)
{
log
(
level
::
trace
,
fmt
,
arg
1
,
arg
s
...);
log
(
level
::
trace
,
fmt
,
args
...);
}
template
<
typename
Arg1
,
typename
...
Args
>
inline
void
spdlog
::
logger
::
debug
(
const
char
*
fmt
,
const
Arg
1
&
arg1
,
const
Arg
s
&
...
args
)
inline
void
spdlog
::
logger
::
debug
(
const
char
*
fmt
,
const
Args
&
...
args
)
{
log
(
level
::
debug
,
fmt
,
arg
1
,
arg
s
...);
log
(
level
::
debug
,
fmt
,
args
...);
}
template
<
typename
Arg1
,
typename
...
Args
>
inline
void
spdlog
::
logger
::
info
(
const
char
*
fmt
,
const
Arg
1
&
arg1
,
const
Arg
s
&
...
args
)
inline
void
spdlog
::
logger
::
info
(
const
char
*
fmt
,
const
Args
&
...
args
)
{
log
(
level
::
info
,
fmt
,
arg
1
,
arg
s
...);
log
(
level
::
info
,
fmt
,
args
...);
}
template
<
typename
Arg1
,
typename
...
Args
>
inline
void
spdlog
::
logger
::
warn
(
const
char
*
fmt
,
const
Arg
1
&
arg1
,
const
Arg
s
&
...
args
)
inline
void
spdlog
::
logger
::
warn
(
const
char
*
fmt
,
const
Args
&
...
args
)
{
log
(
level
::
warn
,
fmt
,
arg
1
,
arg
s
...);
log
(
level
::
warn
,
fmt
,
args
...);
}
template
<
typename
Arg1
,
typename
...
Args
>
inline
void
spdlog
::
logger
::
error
(
const
char
*
fmt
,
const
Arg
1
&
arg1
,
const
Arg
s
&
...
args
)
inline
void
spdlog
::
logger
::
error
(
const
char
*
fmt
,
const
Args
&
...
args
)
{
log
(
level
::
err
,
fmt
,
arg
1
,
arg
s
...);
log
(
level
::
err
,
fmt
,
args
...);
}
template
<
typename
Arg1
,
typename
...
Args
>
inline
void
spdlog
::
logger
::
critical
(
const
char
*
fmt
,
const
Arg
1
&
arg1
,
const
Arg
s
&
...
args
)
inline
void
spdlog
::
logger
::
critical
(
const
char
*
fmt
,
const
Args
&
...
args
)
{
log
(
level
::
critical
,
fmt
,
arg
1
,
arg
s
...);
log
(
level
::
critical
,
fmt
,
args
...);
}
template
<
typename
T
>
...
...
include/spdlog/logger.h
View file @
775e410b
...
...
@@ -46,22 +46,22 @@ public:
void
log
(
level
::
level_enum
lvl
,
const
char
*
msg
);
template
<
typename
Arg1
,
typename
...
Args
>
void
trace
(
const
char
*
fmt
,
const
Arg
1
&
,
const
Arg
s
&
...
args
);
void
trace
(
const
char
*
fmt
,
const
Args
&
...
args
);
template
<
typename
Arg1
,
typename
...
Args
>
void
debug
(
const
char
*
fmt
,
const
Arg
1
&
,
const
Arg
s
&
...
args
);
void
debug
(
const
char
*
fmt
,
const
Args
&
...
args
);
template
<
typename
Arg1
,
typename
...
Args
>
void
info
(
const
char
*
fmt
,
const
Arg
1
&
,
const
Arg
s
&
...
args
);
void
info
(
const
char
*
fmt
,
const
Args
&
...
args
);
template
<
typename
Arg1
,
typename
...
Args
>
void
warn
(
const
char
*
fmt
,
const
Arg
1
&
,
const
Arg
s
&
...
args
);
void
warn
(
const
char
*
fmt
,
const
Args
&
...
args
);
template
<
typename
Arg1
,
typename
...
Args
>
void
error
(
const
char
*
fmt
,
const
Arg
1
&
,
const
Arg
s
&
...
args
);
void
error
(
const
char
*
fmt
,
const
Args
&
...
args
);
template
<
typename
Arg1
,
typename
...
Args
>
void
critical
(
const
char
*
fmt
,
const
Arg
1
&
,
const
Arg
s
&
...
args
);
void
critical
(
const
char
*
fmt
,
const
Args
&
...
args
);
#ifdef SPDLOG_WCHAR_TO_UTF8_SUPPORT
template
<
typename
...
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