evheniy / yeps-logger

YEPS winston logger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

YEPS winston logger

License:MIT License


Languages

Language:JavaScript 100.0%