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
4abe4035
Unverified
Commit
4abe4035
authored
Apr 06, 2018
by
Gabi Melman
Committed by
GitHub
Apr 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
21d437fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
README.md
README.md
+1
-2
No files found.
README.md
View file @
4abe4035
...
@@ -120,11 +120,10 @@ int main(int, char*[])
...
@@ -120,11 +120,10 @@ int main(int, char*[])
daily_logger
->
info
(
123.44
);
daily_logger
->
info
(
123.44
);
// Customize msg format for all messages
// Customize msg format for all messages
spd
::
set_pattern
(
"[%^+++%$] [%H:%M:%S %z] [thread %t] %v"
);
spd
::
set_pattern
(
"[%^+++%$] [%H:%M:%S %z] [thread %t] %v"
);
console
->
info
(
"This an info message with custom format (and custom color range between the '%^' and '%$')"
);
console
->
info
(
"This an info message with custom format (and custom color range between the '%^' and '%$')"
);
console
->
error
(
"This an error message with custom format (and custom color range between the '%^' and '%$')"
);
console
->
error
(
"This an error message with custom format (and custom color range between the '%^' and '%$')"
);
// Runtime log levels
// Runtime log levels
spd
::
set_level
(
spd
::
level
::
info
);
//Set global log level to info
spd
::
set_level
(
spd
::
level
::
info
);
//Set global log level to info
console
->
debug
(
"This message should not be displayed!"
);
console
->
debug
(
"This message should not be displayed!"
);
...
...
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