8000 Update main.py · bjankie1/python-docs-samples@b46e893 · GitHub
[go: up one dir, main page]

Skip to content

Commit b46e893

Browse files
authored
Update main.py
1 parent 522edd7 commit b46e893

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

functions/v2/http_logging/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ def structured_logging(request):
3030

3131
# Import Python Standard Library
3232
import logging
33-
# Construct log message and metadata
33+
# Construct log message and additional metadata
34+
# https://cloud.google.com/run/docs/logging#using-json
3435
msg = "Hello, world!"
3536
metadata = {"component": "arbitrary-property"}
3637

0 commit comments

Comments
 (0)
0