koa-logger-winston
Winston middleware logger for Koa based on
express-winston
.
Forked from winston-koa-logger to implement ES7 async/await functions for Koa2
Instalation
npm i --save koa-logger-winston
Usage
You need to pass a instance of winston to middleware.
const Koa = ;const logger = ; // Winston instance.const koaLogger = ; const app = ; app; app; app;