We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 017d854 + 3ec0da7 commit 81422bdCopy full SHA for 81422bd
functions/log_helloworld/index.php
@@ -36,6 +36,10 @@ function helloLogging(ServerRequestInterface $request): string
36
37
// This doesn't log anything
38
error_log('error_log does not log in Cloud Functions!');
39
+
40
+ // For HTTP functions, this is added to the HTTP response
41
+ // For CloudEvent functions, this does nothing
42
+ var_dump('var_dump goes to HTTP response for HTTP functions');
43
44
// Functions must return a String or PSR-7 Response object
45
return '';
0 commit comments