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
375b7fdd
Commit
375b7fdd
authored
Sep 28, 2017
by
John Andre Hestad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix SPDLOG_WCHAR_TO_UTF8_SUPPORT wchar_t logging
parent
3a21b765
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
include/spdlog/details/logger_impl.h
include/spdlog/details/logger_impl.h
+2
-1
No files found.
include/spdlog/details/logger_impl.h
View file @
375b7fdd
...
...
@@ -326,6 +326,7 @@ inline void spdlog::logger::critical_if(const bool flag, const T& msg)
#ifdef SPDLOG_WCHAR_TO_UTF8_SUPPORT
#include <codecvt>
#include <locale>
template
<
typename
...
Args
>
inline
void
spdlog
::
logger
::
log
(
level
::
level_enum
lvl
,
const
wchar_t
*
msg
)
...
...
@@ -399,7 +400,7 @@ inline void spdlog::logger::log_if(const bool flag, level::level_enum lvl, const
{
if
(
flag
)
{
log
(
lvl
,
fmt
,
args
);
log
(
lvl
,
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