1.2.1 • Published 4 years ago
console-log-timestamp v1.2.1
console-log-timestamp
Automatically adds timestamp prefix to all console.log()
From:
Server started on port 3737
to:
2020-06-17 17:30:25.4320 (Europe/London) ==> Server is runing on port 3737
Installation
npm i console-log-timestamp
Usage
require('console-log-timestamp')();
If you need a specific timezone, just pass it as an argument:
require('console-log-timestamp')('Europe/Paris');