Skip to content

Commit b2fe96e

Browse files
authored
docs: Added documentation on log_level and excluded_loggers params in setup_logging (#971)
* docs: Added documentation on log_level and excluded_loggers params in setup_logging * Added product prefix to new region tags.
1 parent 00fa288 commit b2fe96e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

logging/samples/snippets/usage_guide.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -475,13 +475,13 @@ def using_extras(client):
475475
def setup_logging(client):
476476
import logging
477477

478-
# [START setup_logging]
478+
# [START logging_setup_logging]
479479
client.setup_logging(log_level=logging.INFO)
480-
# [END setup_logging]
480+
# [END logging_setup_logging]
481481

482-
# [START setup_logging_excludes]
482+
# [START logging_setup_logging_excludes]
483483
client.setup_logging(log_level=logging.INFO, excluded_loggers=("werkzeug",))
484-
# [END setup_logging_excludes]
484+
# [END logging_setup_logging_excludes]
485485

486486

487487
@snippet

0 commit comments

Comments
 (0)