Skip to content
Permalink
Browse files
docs: add python std_logging to sample browser (#173)
* 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 7cc727598c33e7e264ddbeef0a2604a3c215b260
Showing with 2 additions and 0 deletions.
  1. +2 −0 samples/snippets/handler.py
@@ -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
@@ -43,6 +44,7 @@ def use_logging_handler():
# [END logging_handler_usage]

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


if __name__ == "__main__":

0 comments on commit 7cc7275

Please sign in to comment.