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

Skip to content

Commit 92944a6

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

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

functions/log/main.py

Lines 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)