Docs: Fix logging CLI reference, and add examples.

The verbose filter CLI option doesn't begin with log_ prefix.
The filter options need a double dash (--).
This commit is contained in:
Michael Drake 2018-06-29 12:00:09 +01:00
parent 169a91ace9
commit 97007d095e
1 changed files with 8 additions and 2 deletions

View File

@ -62,12 +62,18 @@ The main command line switches that control logging are:
- -V <file>
Send the logging to a file instead of standard output
- -log_filter=<filter>
- --log_filter=<filter>
Set the non verbose filter
- -log_verbose_filter=<filter>
- --verbose_filter=<filter>
Set the verbose filter
Examples:
./nsgtk --log_filter="level:INFO"
./nsgtk -v --verbose_filter="(cat:layout && level:DEBUG)"
./nsgtk -v --verbose_filter="((cat:layout && level:DEBUG) || level:INFO)"
Options
-------