We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1037afc commit 31a7f69Copy full SHA for 31a7f69
samples/snippets/snippets.py
@@ -38,15 +38,15 @@ def write_entry(logger_name):
38
logger.log_text("Hello, world!")
39
40
# Simple text log with severity.
41
- logger.log_text("Goodbye, world!", severity="ERROR")
+ logger.log_text("Goodbye, world!", severity="WARNING")
42
43
# Struct log. The struct can be any JSON-serializable dictionary.
44
logger.log_struct(
45
{
46
"name": "King Arthur",
47
"quest": "Find the Holy Grail",
48
"favorite_color": "Blue",
49
- }
+ }, severity="INFO"
50
)
51
52
print("Wrote logs to {}.".format(logger.name))
0 commit comments