Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions samples/snippets/handler.py
Original file line number Diff line number Diff line change
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