0.2.1 • Published 4 years ago
leekslazylogger-express v0.2.1
leekslazylogger-express
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.