你可以在Pino 的文档中找到全部选项。如果你想指定文件地址,可以: const fastify = require('fastify')({ logger: { level: 'info', file: '/path/to/file' // 将 ...
確定! 回上一頁