Socket
Book a DemoInstallSign in
Socket

logging-tool

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logging-tool

Colourful logging module with different logging levels

1.2.3
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

logging-tool

Colourful logging module with different logging levels

Logging levels

Installation

$ npm install logging-tool

Documentation

logging

Usage:

var logging = require('logging-tool');

Return

  • Object Logging object containing the following fields:
  • debug (Boolean): Show logging.log output if true (default true)
  • silent (Boolean): Don't show any output if true (default false)
  • log (Function): Log arguments on the default logging level
  • info (Function): Log arguments on the info logging level
  • warn (Function): Log arguments on the warn logging level
  • error (Function): Log arguments on the error logging level

How to contribute

  • File an issue in the repository, using the bug tracker, describing the contribution you'd like to make. This will help us to get you started on the right foot.
  • Fork the project in your account and create a new branch: your-great-feature.
  • Commit your changes in that branch.
  • Open a pull request, and reference the initial issue in the pull request message.

License

See the LICENSE file.

FAQs

Package last updated on 19 Apr 2016

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.