Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including yeps-logger with all npm packages installed. Try it out:

require("debug/package.json"); // debug is a peer dependency. var yepsLogger = require("yeps-logger")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

yeps-logger v2.1.0

YEPS async logger

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free