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:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
npm i -S yeps-logger debug
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), ]);