日志默认是未启用的,你可以在创建fastify 实例时传入 { logger: true } 或者 { logger: { level: 'info' } } 来启用日志功能。 由于Fastify 专注于性能,因此使用pino ...
確定! 回上一頁