egg logger How to use npm i @z-ivan/koa-logger --save const koa = require('koa') const logger = require('@z-ivan/koa-logger') var app = koa() app.use(logger( console.log.bind(console), { level: isProd ? 0 : 3 } ))