Skip to content

Commit

Permalink
Document default id in recipe about updating handler level
Browse files Browse the repository at this point in the history
  • Loading branch information
Delgan authored Sep 19, 2022
1 parent c356602 commit 3d8631e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/resources/recipes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 3d8631e

Please sign in to comment.