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
8fbade29
Commit
8fbade29
authored
Oct 10, 2014
by
gabi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. moved factory to main namespace
2. common.h
parent
a72de9d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
include/c11log/common.h
include/c11log/common.h
+27
-0
include/c11log/factory.h
include/c11log/factory.h
+0
-0
No files found.
include/c11log/common.h
0 → 100644
View file @
8fbade29
#pragma once
namespace
c11log
{
using
log_clock
=
std
::
chrono
::
system_clock
;
namespace
level
{
typedef
enum
{
TRACE
,
DEBUG
,
INFO
,
WARNING
,
ERROR
,
CRITICAL
,
FATAL
,
NONE
=
99
}
level_enum
;
static
const
char
*
level_names
[]
{
"trace"
,
"debug"
,
"info"
,
"warning"
,
"error"
,
"critical"
,
"fatal"
};
inline
const
char
*
to_str
(
c11log
::
level
::
level_enum
l
)
{
return
level_names
[
l
];
}
}
//level
}
//c11log
include/c11log/
details/
factory.h
→
include/c11log/factory.h
View file @
8fbade29
File moved
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