yeps-logger
v2.1.0
Published
YEPS async logger
Downloads
27
Maintainers
Readme
YEPS async logger
How to install
npm i -S yeps-logger debug
How to use
Middleware
const App = require('yeps');
const logger = require('yeps-logger');
const error = require('yeps-error');
const app = new App();
app.all([
error(),
logger(),
]);
You can use any system for logging. By default it's console.
const log4js = require('log4js');
app.all([
logger(log4js),
]);
Try: