npm promotes metadefinitions
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

yeps-logger

2.1.0 • Public • Published

YEPS async logger

NPM

npm version Build Status Coverage Status Linux Build Windows Build

Dependency Status devDependency Status NSP Status

License GitHub stars GitHub forks GitHub issues Twitter

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:

YEPS documentation

install

npm i yeps-logger

Downloadsweekly downloads

41

version

2.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability