Skip to content

Commit

Permalink
docs: add python std_logging to sample browser (#173)
Browse files Browse the repository at this point in the history
* docs: add existing region tag to python std logging

This is so this existing Python example will show up here: https://cloud.google.com/logging/docs/samples/logging-stdlogging
  • Loading branch information
0xSage committed Feb 4, 2021
1 parent 1a3c047 commit 7cc7275
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/snippets/handler.py
Expand Up @@ -16,6 +16,7 @@


def use_logging_handler():
# [START logging_stdlogging]
# [START logging_handler_setup]
# Imports the Cloud Logging client library
import google.cloud.logging
Expand Down Expand Up @@ -43,6 +44,7 @@ def use_logging_handler():
# [END logging_handler_usage]

print("Logged: {}".format(text))
# [END logging_stdlogging]


if __name__ == "__main__":
Expand Down

0 comments on commit 7cc7275

Please sign in to comment.