oops

wwylele 2016-05-05 08:56:21 +03:00
parent 260709c8eb
commit 70672163bb

@ -18,7 +18,7 @@ Otherwise, a complete list can be found in the source in [log.h](https://github.
## Log Filters
To configure the log filter, edit the configuration file (either `qt-config.ini` or `sdl-config.ini`) and change the `log_filter` setting. The filter string consists of a space-separated list of filter rules, each of the format `<class>:<level>`. `<class>` is a log class name, with subclasses separated using periods. A rule for a given class also affects all of its subclasses. `*` wildcards are allowed and can be used to apply a rule to all classes or to all subclasses of a class without affecting the parent class. `<level>` a severity level name which will be set as the minimum logging level of the matched classes. Rules are applied left to right, with later rules overriding previous ones in the sequence.
To configure the log filter, edit the configuration file (either `qt-config.ini` or `sdl2-config.ini`) and change the `log_filter` setting. The filter string consists of a space-separated list of filter rules, each of the format `<class>:<level>`. `<class>` is a log class name, with subclasses separated using periods. A rule for a given class also affects all of its subclasses. `*` wildcards are allowed and can be used to apply a rule to all classes or to all subclasses of a class without affecting the parent class. `<level>` a severity level name which will be set as the minimum logging level of the matched classes. Rules are applied left to right, with later rules overriding previous ones in the sequence.
A few examples of filter rules:
- `*:Info` -- Resets the level of all classes to Info.