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
eaa61ed4
Commit
eaa61ed4
authored
Nov 29, 2014
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
type
parent
73b31e4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bench/spdlog-bench-mt.cpp
bench/spdlog-bench-mt.cpp
+1
-1
No files found.
bench/spdlog-bench-mt.cpp
View file @
eaa61ed4
...
...
@@ -17,7 +17,7 @@ int main(int argc, char* argv[])
int
howmany
=
1000000
;
namespace
spd
=
spdlog
;
///Create a file rotating logger with
5
mb size max and 5 rotated files
///Create a file rotating logger with
10
mb size max and 5 rotated files
auto
logger
=
spd
::
rotating_logger_mt
(
"file_logger"
,
"logs/spd-sample"
,
10
*
1024
*
1024
,
5
,
false
);
logger
->
set_pattern
(
"[%Y-%b-%d %T.%e]: %v"
);
...
...
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