1.0.2 • Published 5 years ago

logti v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
5 years ago

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.
1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago