Skip to content

qoq-ts/qoq-morgan

Repository files navigation

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

Releases

No releases published

Packages

No packages published