Allow setting log level via `--log-level` argument
Description
This introduces the --log-level
CLI option to specify a log level. (By default it is set to ERROR
, logging only the most critical messages).
The allowed values are those set in buildboxcommon_logging.h
.
Changes proposed in this merge request:
- Add
--log-level
CLI option - Make the
--verbose
option be a shortcut for--log-level=debug
- Show the list of possible log levels in
casd
's help/usage - Set the corresponding log level in
Daemon
This merge request, when merged, will address issue/bug:
Edited by Santiago Gil