logging-tool
v1.2.3
Published
Colourful logging module with different logging levels
Downloads
10
Readme
logging-tool
Colourful logging module with different 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): Showlogging.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 levelinfo
(Function): Log arguments on theinfo
logging levelwarn
(Function): Log arguments on thewarn
logging levelerror
(Function): Log arguments on theerror
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.