From 8b1c8b66f987b61d3b61884246312cab276a7853 Mon Sep 17 00:00:00 2001 From: Johannes Lade Date: Sun, 31 Jul 2022 13:33:24 +0200 Subject: [PATCH 1/2] Clarify meaning of 'mygame' in LogSetttings. --- features/log.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/log.html b/features/log.html index 123dc5bce..54460b1fb 100644 --- a/features/log.html +++ b/features/log.html @@ -189,7 +189,7 @@

Filteri

The filter field is a string specifying a list of rules for what level to enable for different Rust modules/crates. In the example above, the string means: show up to info by default, limit wgpu_core and wgpu_hal -to warn level, for mygame show debug.

+to warn level, for mygame show debug. mygame has to be replaced with the name of your game, i.e. the name of the rust project found in the Cargo.toml project configuration.

All levels higher than the one specified are also enabled. All levels lower than the one specified are disabled, and those messages will not be displayed.

The level filter is a global limit on the lowest level to use. Messages From d78a7dea84ef55415cbe9c770b9302ea33ae6978 Mon Sep 17 00:00:00 2001 From: Johannes Lade Date: Sun, 31 Jul 2022 13:37:45 +0200 Subject: [PATCH 2/2] Format new text. --- features/log.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/features/log.html b/features/log.html index 54460b1fb..0f6b7c6a8 100644 --- a/features/log.html +++ b/features/log.html @@ -189,7 +189,8 @@

Filteri

The filter field is a string specifying a list of rules for what level to enable for different Rust modules/crates. In the example above, the string means: show up to info by default, limit wgpu_core and wgpu_hal -to warn level, for mygame show debug. mygame has to be replaced with the name of your game, i.e. the name of the rust project found in the Cargo.toml project configuration.

+to warn level, for mygame show debug. mygame has to be replaced with +the name of your game, i.e. the name of the rust project found in the Cargo.toml project configuration.

All levels higher than the one specified are also enabled. All levels lower than the one specified are disabled, and those messages will not be displayed.

The level filter is a global limit on the lowest level to use. Messages