Output Common Log Format access logs to any stream. Defaults to
# npm ..npm i koa-accesslog# yarn ..yarn add koa-accesslog
const Koa = ;const accesslog = ;const app = ;app;
127.0.0.1 - - [19/Nov/2014:13:47:37 +0100] "GET / HTTP/1.X" 404 -
You may configure Accesslog to use any writable stream such as an
stream.PassThrough as seen below.
const log = ;app;