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
93d84e5d
Commit
93d84e5d
authored
Feb 17, 2017
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v0.12.0
parent
31193781
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
pattern_formatter_impl.h
include/spdlog/details/pattern_formatter_impl.h
+8
-4
spdlog.h
include/spdlog/spdlog.h
+1
-1
No files found.
include/spdlog/details/pattern_formatter_impl.h
View file @
93d84e5d
...
...
@@ -80,7 +80,8 @@ static int to12h(const tm& t)
//Abbreviated weekday name
using
days_array
=
std
::
array
<
std
::
string
,
7
>
;
static
const
days_array
&
days
()
{
static
const
days_array
&
days
()
{
static
const
days_array
arr
{
"Sun"
,
"Mon"
,
"Tue"
,
"Wed"
,
"Thu"
,
"Fri"
,
"Sat"
};
return
arr
;
}
...
...
@@ -93,7 +94,8 @@ class a_formatter:public flag_formatter
};
//Full weekday name
static
const
days_array
&
full_days
()
{
static
const
days_array
&
full_days
()
{
static
const
days_array
arr
{
"Sunday"
,
"Monday"
,
"Tuesday"
,
"Wednesday"
,
"Thursday"
,
"Friday"
,
"Saturday"
};
return
arr
;
}
...
...
@@ -107,7 +109,8 @@ class A_formatter:public flag_formatter
//Abbreviated month
using
months_array
=
std
::
array
<
std
::
string
,
12
>
;
static
const
months_array
&
months
()
{
static
const
months_array
&
months
()
{
static
const
months_array
arr
{
"Jan"
,
"Feb"
,
"Mar"
,
"Apr"
,
"May"
,
"June"
,
"July"
,
"Aug"
,
"Sept"
,
"Oct"
,
"Nov"
,
"Dec"
};
return
arr
;
}
...
...
@@ -120,7 +123,8 @@ class b_formatter:public flag_formatter
};
//Full month name
static
const
months_array
&
full_months
()
{
static
const
months_array
&
full_months
()
{
static
const
months_array
arr
{
"January"
,
"February"
,
"March"
,
"April"
,
"May"
,
"June"
,
"July"
,
"August"
,
"September"
,
"October"
,
"November"
,
"December"
};
return
arr
;
}
...
...
include/spdlog/spdlog.h
View file @
93d84e5d
...
...
@@ -7,7 +7,7 @@
#pragma once
#define SPDLOG_VERSION "0.1
1
.0"
#define SPDLOG_VERSION "0.1
2
.0"
#include <spdlog/tweakme.h>
#include <spdlog/common.h>
...
...
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