npm install @types/koa-logger --save. 简单使用koa-logger ... (ctx)=>{ ctx.body = "Hellow Koa"; }); // 使用中间件 app.use(logger); ...
確定! 回上一頁