Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 92944a6

Browse filesBrowse files
authored
fix: only use print statement for logging sample (GoogleCloudPlatform#2025)
1 parent b20c339 commit 92944a6
Copy full SHA for 92944a6

File tree

Expand file treeCollapse file tree

1 file changed

+0
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-6
lines changed

‎functions/log/main.py

Copy file name to clipboardExpand all lines: functions/log/main.py
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@
1818

1919
# [END functions_log_stackdriver]
2020

21-
# [START functions_log_helloworld]
22-
import logging
23-
24-
# [END functions_log_helloworld]
25-
2621
# [START functions_log_retrieve]
2722
import os
2823
# [END functions_log_retrieve]
@@ -40,7 +35,6 @@ def hello_world(data, context):
4035
context (google.cloud.functions.Context): The event metadata.
4136
"""
4237
print('Hello, stdout!')
43-
logging.warn('Hello, logging handler!')
4438
# [END functions_log_helloworld]
4539

4640

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.