Skip to content
Snippets Groups Projects
Commit 4cd27682 authored by Norihiro Watanabe's avatar Norihiro Watanabe Committed by Dmitri Naumov
Browse files

[App/CLI] set the default logog level to info in release builds

parent 35ce3216
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,11 @@ int main(int argc, char *argv[]) ...@@ -61,7 +61,11 @@ int main(int argc, char *argv[])
"l", "log-level", "l", "log-level",
"the verbosity of logging messages: none, error, warn, info, debug, all", "the verbosity of logging messages: none, error, warn, info, debug, all",
false, false,
#ifdef NDEBUG
"info",
#else
"all", "all",
#endif
"log level"); "log level");
cmd.add(log_level_arg); cmd.add(log_level_arg);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment