main: add -d,--log-level=info|warning|error|none

Closes #84
This commit is contained in:
Daniel Eklöf 2021-08-15 11:43:49 +02:00
parent 7d3851046e
commit be10465a3b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 34 additions and 10 deletions

View file

@ -27,6 +27,10 @@ yambar - modular status panel for X11 and Wayland
(or FD) is closed immediately after writing the PID. When a _FILE_
as been specified, the file is unlinked exit.
*-d*,*--log-level*={*info*,*warning*,*error*,*none*}
Log level, used both for log output on stderr as well as
syslog. Default: _info_.
*-l*,*--log-colorize*=[{*never*,*always*,*auto*}]
Enables or disables colorization of log output on stderr.