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
6587058f
Unverified
Commit
6587058f
authored
Aug 19, 2020
by
Gabi Melman
Committed by
GitHub
Aug 19, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update argv.h
parent
30f738e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
include/spdlog/cfg/argv.h
include/spdlog/cfg/argv.h
+2
-2
No files found.
include/spdlog/cfg/argv.h
View file @
6587058f
...
...
@@ -21,7 +21,7 @@ namespace spdlog {
namespace
cfg
{
// search for SPDLOG_LEVEL= in the args and use it to init the levels
void
load_argv_levels
(
int
argc
,
const
char
**
argv
)
inline
void
load_argv_levels
(
int
argc
,
const
char
**
argv
)
{
const
std
::
string
spdlog_level_prefix
=
"SPDLOG_LEVEL="
;
for
(
int
i
=
1
;
i
<
argc
;
i
++
)
...
...
@@ -36,7 +36,7 @@ void load_argv_levels(int argc, const char **argv)
}
}
void
load_argv_levels
(
int
argc
,
char
**
argv
)
inline
void
load_argv_levels
(
int
argc
,
char
**
argv
)
{
load_argv_levels
(
argc
,
const_cast
<
const
char
**>
(
argv
));
}
...
...
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