Closed i5ting closed 7 years ago
https://github.com/dominhhai/koa-log4js/tree/v2.x
它是一个不错的实现方案,感觉如果我自己写也不过如此
log4js.configure('config/log4js.json', { reloadSecs: 300 }); app.use(log4js.koaLogger(log4js.getLogger("http"), { level: 'auto' }))
https://github.com/dominhhai/koa-log4js/tree/v2.x
它是一个不错的实现方案,感觉如果我自己写也不过如此