From 38d42610b85b2575549774ecff32ad4872bfe0d5 Mon Sep 17 00:00:00 2001 From: Weiyi Wang Date: Thu, 9 Mar 2017 11:01:59 +0200 Subject: [PATCH] The functionality of our log system is changed by https://github.com/citra-emu/citra/commit/b88c91dd3d03f1a452cdd48f0db4e010cb150753. --- Log-Filters.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Log-Filters.md b/Log-Filters.md index 23a0d83..1356ae0 100644 --- a/Log-Filters.md +++ b/Log-Filters.md @@ -18,12 +18,9 @@ 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 `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 `:`. `` 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. `` 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 `:`. `` is a log class name, with subclasses separated using periods. `*` wildcards are allowed and can be used to apply a rule to all classes . `` 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. - - `Service:Info` -- Sets the level of Service and all subclasses (Service.FS, Service.APT, - etc.) to Info. - - `Service.*:Debug` -- Sets the level of all Service subclasses to Debug, while leaving the - level of Service unchanged. + - `Service:Info` -- Sets the level of Service to Info (without affecting its subclasses). - `Service.FS:Trace` -- Sets the level of the Service.FS class to Trace. \ No newline at end of file