1.0.0 • Published 3 years ago
mokilow v1.0.0
mokilow
Just another simple logging package with support for timestamps. Best used to generate colored/pretty logs in a syslog environment.
Usage
Using mokilow is straightforward. By default, the time is included within the logging statement.
mokilow.warn("a warning message")
mokilow.error("an error message")
mokilow.info("an info message")
mokilow.debug("a debug message")
mokilow.warn("a warning message with time", true)
mokilow.error("an error message with time", true)
mokilow.info("an info message with time", true)
mokilow.debug("a debug message with time", true)The code above produces:

Installation
Install the package using the command below
npm i mokilowTests
Run the written unit tests for the package with the commands below.
git clone https://github.com/aravindnatch/mokilo.git
npm install
npm test1.0.0
3 years ago