This package has been deprecated

Author message:

Stop using express, switch to fastify, use leekslazylogger@4 with a fastify onResponse hook

leekslazylogger-express

0.2.1 • Public • Published

leekslazylogger-express

npm GitHub issues GitHub stars GitHub forks GitHub license Codacy grade Discord support server

About

leekslazylogger-express is a logger middleware for express.

Features

  • Colours :)
  • Status code, route, and time in ms
  • Placeholders

Getting Started

Click here to go the docs for customisation instructions.

const ExpressLogger = require('leekslazylogger-express');
const log = new ExpressLogger();

// require express
const express = require('express');
const app = express();

// use logger middleware
app.use(log.express(options));

Support

Go to the docs, or ask for help in #general-support on Discord.

Discord

Donate

ko-fi

Versions

Current Tags

VersionDownloads (Last 7 Days)Published

Version History

VersionDownloads (Last 7 Days)Published

Package Sidebar

Install

npm i leekslazylogger-express

Weekly Downloads

1

Version

0.2.1

License

MIT

Unpacked Size

6.91 kB

Total Files

4

Last publish

Collaborators

  • eartharoid