1.0.2 • Published 5 years ago
logti v1.0.2
logti
Simple logging with timestamps.
Accepts one param. It can be a string or an object that contains a string value.
Installation
$ npm i logti
Usage
Import module:
const logti = require("logti");
Sample:
aPromiseFunction
.then(res => logti("Promise resolved."))
.catch(err => logti(err));
// Output: [02/29/2020 10:53 AM] Promise resolved.