Skip to content

Commit 7cc7275

Browse files
authored
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
1 parent 1a3c047 commit 7cc7275

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

samples/snippets/handler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717

1818
def use_logging_handler():
19+
# [START logging_stdlogging]
1920
# [START logging_handler_setup]
2021
# Imports the Cloud Logging client library
2122
import google.cloud.logging
@@ -43,6 +44,7 @@ def use_logging_handler():
4344
# [END logging_handler_usage]
4445

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

4749

4850
if __name__ == "__main__":

0 commit comments

Comments
 (0)