From 0059b5109134c6c0ad4f08debf39a6890b51897f Mon Sep 17 00:00:00 2001 From: quadDamaged <61554144+quadDamaged@users.noreply.github.com> Date: Sat, 7 Dec 2024 08:45:03 -0500 Subject: [PATCH] Fix recipes.rst typo (#1254) --- docs/resources/recipes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/resources/recipes.rst b/docs/resources/recipes.rst index 3d931e38..d70dfa22 100644 --- a/docs/resources/recipes.rst +++ b/docs/resources/recipes.rst @@ -143,7 +143,7 @@ The logger is pre-configured for convenience with a default handler which writes Changing the level of an existing handler ----------------------------------------- -Once a handler has been added, it is actually not possible to update it. This is a deliberate choice in order to keep the Loguru's API minimal. Several solutions are possible, tough, if you need to change the configured ``level`` of a handler. Chose the one that best fits your use case. +Once a handler has been added, it is actually not possible to update it. This is a deliberate choice in order to keep the Loguru's API minimal. Several solutions are possible, though, if you need to change the configured ``level`` of a handler. Chose the one that best fits your use case. The most straightforward workaround is to |remove| your handler and then re-|add| it with the updated ``level`` parameter. To do so, you have to keep a reference to the identifier number returned while adding a handler::