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
fd1c4d78
Commit
fd1c4d78
authored
Mar 19, 2018
by
Alexander Kiselev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: unknown conversion specifier 'Y'
parent
70ad1aa4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
log4cpp-bench-mt.cpp
bench/log4cpp-bench-mt.cpp
+1
-1
No files found.
bench/log4cpp-bench-mt.cpp
View file @
fd1c4d78
...
...
@@ -31,7 +31,7 @@ int main(int argc, char * argv[])
log4cpp
::
Appender
*
appender
=
new
log4cpp
::
FileAppender
(
"default"
,
"logs/log4cpp-bench-mt.log"
);
log4cpp
::
PatternLayout
*
layout
=
new
log4cpp
::
PatternLayout
();
layout
->
setConversionPattern
(
"{%Y-%m-%d %H:%M:%S.%l}: %p - %m %n"
);
layout
->
setConversionPattern
(
"
%d
{%Y-%m-%d %H:%M:%S.%l}: %p - %m %n"
);
appender
->
setLayout
(
layout
);
log4cpp
::
Category
&
root
=
log4cpp
::
Category
::
getRoot
();
...
...
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