diff --git a/docs/resources/recipes.rst b/docs/resources/recipes.rst index 2c8f1a22..9455bf18 100644 --- a/docs/resources/recipes.rst +++ b/docs/resources/recipes.rst @@ -145,7 +145,7 @@ The most straightforward workaround is to |remove| your handler and then re-|add ... - logger.remove(handler_id) + logger.remove(handler_id) # For the default handler, it's actually '0'. logger.add(sys.stderr, level="DEBUG") logger.debug("Logging 'DEBUG' messages too")