Skip to content

Commit

Permalink
docs: fix snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
niekdt committed Sep 12, 2024
1 parent 97f81ec commit 252699d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/actionsheets/data/python/output/logging.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language = "python"
parent = "python"
parent = "python.output"
name = "logging"
title = "Logging"
description = """
Expand Down Expand Up @@ -53,11 +53,11 @@ code = "logging.basicConfig(level='DEBUG')"

[update.root.disable]
action = "Disable root logger"
code = "logging.disable()"
code = "logging.root.disable = True"

[update.root.enable]
action = "Re-enable root logger"
code = "logging.disable(0)"
code = "logging.root.disable = False"

[update.root.capture.warning]
action = "Capture warnings outputted via the `warnings` module"
Expand Down

0 comments on commit 252699d

Please sign in to comment.