From 2827741c994668d6541ff2a3641bc4789677f298 Mon Sep 17 00:00:00 2001 From: Pengfei Zhu Date: Sun, 16 Dec 2018 11:52:39 +0800 Subject: [PATCH] Updated Log Filters (markdown) --- Log-Filters.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Log-Filters.md b/Log-Filters.md index 74d99f6..c97aeeb 100644 --- a/Log-Filters.md +++ b/Log-Filters.md @@ -14,11 +14,13 @@ Class names can be discovered from the log messages themselves. For example, thi ``` [ 10.285042] Service core/hle/service/service.h:Service::Interface::SyncRequest:84: unknown/unimplemented function '0x01020000': port=APT:U ``` -Otherwise, a complete list can be found in the source in [log.h](https://github.com/citra-emu/citra/blob/master/src/common/logging/log.h#L36) +A complete list can be found in the source in [log.h](https://github.com/citra-emu/citra/blob/master/src/common/logging/log.h#L36) ## 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. `*` 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. +To configure the log filter, you need to change the configuration in `Emulation > Configure... > General > Debug`. Change the `Logging > Global 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.