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
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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
common.h
include/c11log/common.h
+27
-0
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