Socket
Socket
Sign inDemoInstall

ee-log

Package Overview
Dependencies
27
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ee-log

Easy, simple & beautiful logs


Version published
Weekly downloads
9.2K
decreased by-6.09%
Maintainers
1
Install size
803 kB
Created
Weekly downloads
 

Readme

Source

ee-log

Easy, simple & useful logging

Supported by joinbox.com, your swiss node.js & javascript agency :rocket:

npm Travis

printscreen

API

The module exposes a set of methods that can be used to print colorful logs. Each of the methods accepts an unlimited amount of parameters. All of the parameters will be printed. Objects will automatically printed in an expanded form, errors will be printed in a more readable form. Each log log statement is prefixed with the exact file and line where the log statement is located.

Methods

  • debug: grey text

  • info: white text

  • warn: yellow text

  • error: red text

  • success: green text

  • highlight: violet text

log.error('not good!');

you may also use the module itself to log items

const log = require('ee-log');

log('this is awesome', {
	someValue: true
}, new Error('fancy error printing'));

Keywords

FAQs

Last updated on 06 Feb 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc