Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 481 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 481 Bytes

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