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
54456aee
Commit
54456aee
authored
Jul 15, 2019
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactored padding handling in formatter using templates
parent
2a31cdcd
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
170 additions
and
187 deletions
+170
-187
include/spdlog/details/pattern_formatter-inl.h
include/spdlog/details/pattern_formatter-inl.h
+169
-187
include/spdlog/details/pattern_formatter.h
include/spdlog/details/pattern_formatter.h
+1
-0
No files found.
include/spdlog/details/pattern_formatter-inl.h
View file @
54456aee
This diff is collapsed.
Click to expand it.
include/spdlog/details/pattern_formatter.h
View file @
54456aee
...
@@ -82,6 +82,7 @@ private:
...
@@ -82,6 +82,7 @@ private:
std
::
vector
<
std
::
unique_ptr
<
details
::
flag_formatter
>>
formatters_
;
std
::
vector
<
std
::
unique_ptr
<
details
::
flag_formatter
>>
formatters_
;
std
::
tm
get_time_
(
const
details
::
log_msg
&
msg
);
std
::
tm
get_time_
(
const
details
::
log_msg
&
msg
);
template
<
typename
Padder
>
void
handle_flag_
(
char
flag
,
details
::
padding_info
padding
);
void
handle_flag_
(
char
flag
,
details
::
padding_info
padding
);
// Extract given pad spec (e.g. %8X)
// Extract given pad spec (e.g. %8X)
...
...
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