1.0.1 • Published 5 years ago

timely-log v1.0.1

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

Timely-Log

This is a basic logging helper which has 6 functions

timeIn -- Place where you want to start the time logging.

timeOut -- Place where you want to stop the time logging.

getTotalTimeInSeconds -- Returns the total time taken in seconds.

getTotalTimeInMillis -- Returns the total time taken in milliseconds.

logTotalTimeInSeconds -- Console logs the total time taken in seconds.

logTotalTimeInMillis -- Console logs the total time taken in milliseconds.

Installation instructions

npm i timely-log

How to use

var timelyLog = require('timely-log')