You need to enable JavaScript to run this app.
Volcano Engine Function as a Service

Volcano Engine Function as a Service

Copy page
Download PDF
Golang runtime
Log collection
Copy page
Download PDF
Log collection
When logging is enabled, veFaaS writes the stdout and stderr logs generated by your function to your account and distinguishes the two types using the log_type field. The following code shows an example:​
​
// Print log to stdout.​
fmt.Printf("info log from veFaaS")​
​
// Print log to stderr.​
fmt.Fprintf(os.Stderr, "warn/error log from veFaaS")​
​
tip​
By default, the Golang log library writes output to stderr. You can change this behavior by calling the log.SetOutput function.​
​
Last updated: 2026.08.19 14:06:05