You need to enable JavaScript to run this app.
文档中心
函数服务

函数服务

复制全文
下载 pdf
Native Python 运行时
日志采集
复制全文
下载 pdf
日志采集
在开启日志的情况下,veFaaS 会将函数输出的 stdout 和 stderr 日志写入到用户账户,并通过 log_type 字段对这两类日志进行区分标识。示例代码如下。​
​
// Print log to stdout.​
print("Hello, Native Python!")​
​
// Print log to stderr.​
import sys​
sys.stderr.write("This is an error message.\n")​
​
​
最近更新时间:2025.03.11 17:02:16
这个页面对您有帮助吗?
有用
有用
无用
无用