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
30326dad
Commit
30326dad
authored
Jul 09, 2016
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed level defines
parent
bac8fc24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
15 deletions
+7
-15
include/spdlog/common.h
include/spdlog/common.h
+7
-15
No files found.
include/spdlog/common.h
View file @
30326dad
...
@@ -57,26 +57,18 @@ using level_t = std::atomic_int;
...
@@ -57,26 +57,18 @@ using level_t = std::atomic_int;
#endif
#endif
#define SPDLOG_LEVEL_TRACE 0
#define SPDLOG_LEVEL_DEBUG 1
#define SPDLOG_LEVEL_INFO 2
#define SPDLOG_LEVEL_WARN 3
#define SPDLOG_LEVEL_ERR 4
#define SPDLOG_LEVEL_CRIT 5
#define SPDLOG_LEVEL_OFF 6
//Log level enum
//Log level enum
namespace
level
namespace
level
{
{
typedef
enum
typedef
enum
{
{
trace
=
SPDLOG_LEVEL_TRACE
,
trace
=
0
,
debug
=
SPDLOG_LEVEL_DEBUG
,
debug
=
1
,
info
=
SPDLOG_LEVEL_INFO
,
info
=
2
,
warn
=
SPDLOG_LEVEL_WARN
,
warn
=
3
,
err
=
SPDLOG_LEVEL_ERR
,
err
=
4
,
critical
=
SPDLOG_LEVEL_CRIT
,
critical
=
5
,
off
=
SPDLOG_LEVEL_OFF
off
=
6
}
level_enum
;
}
level_enum
;
static
const
char
*
level_names
[]
{
"trace"
,
"debug"
,
"info"
,
"warning"
,
"error"
,
"critical"
,
"off"
};
static
const
char
*
level_names
[]
{
"trace"
,
"debug"
,
"info"
,
"warning"
,
"error"
,
"critical"
,
"off"
};
...
...
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