qoq-morgan
v0.0.5
Published
A logger middleware based on [morgan](https://github.com/expressjs/morgan) from express.
Downloads
1
Readme
Morgan
A logger middleware based on morgan from express.
Installation
yarn add qoq-morgan
Usage
import { WebSlotManager } from 'qoq';
import { Morgan, morgan } from 'qoq-morgan';
// morgan.token(...)
// morgan.format(...)
// morgan.compile(...)
const webSlots = WebSlotManager.use(new Morgan('combined'));
Options
@see express/morgan