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
a1a46378
Commit
a1a46378
authored
Nov 24, 2018
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated example's comment
parent
a16ff07a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
example.cpp
example/example.cpp
+2
-3
No files found.
example/example.cpp
View file @
a1a46378
...
...
@@ -161,11 +161,10 @@ void binary_example()
// define SPDLOG_ACTIVE_LEVEL to required level (e.g. SPDLOG_LEVEL_TRACE)
void
trace_example
()
{
// trace from default logger
SPDLOG_TRACE
(
"
Enabled only #ifdef SPDLOG_TRACE_ON..
{} ,{}"
,
1
,
3.23
);
SPDLOG_TRACE
(
"
Some trace message..
{} ,{}"
,
1
,
3.23
);
// debug from default logger
SPDLOG_DEBUG
(
"
Enabled only #ifdef SPDLOG_DEBUG_ON
.. {} ,{}"
,
1
,
3.23
);
SPDLOG_DEBUG
(
"
Some debug message
.. {} ,{}"
,
1
,
3.23
);
// trace from logger object
auto
logger
=
spdlog
::
get
(
"file_logger"
);
...
...
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