Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add python std_logging to sample browser #173

Merged
merged 6 commits into from Feb 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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