console.log() with a beautiful timestamp
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
extras
.gitignore
.travis.yml
README.md
index.js
package.json
test.js
yarn.lock

README.md

node-time-log

console.log() with a beautiful timestamp

Build Status npm npm

Install

$ yarn add node-time-log

Usage

const log = require('node-time-log').SimpleLog;
const info = require('node-time-log').CompleteLog;

log(`I'm a simple log just with time`); 
// => 00:07:32 I'm a simple log just with time

info(`I have date and time`); 
// => 14-07-2017 00:07:44 I have date and time

Created by

Cesar Ferreira

License

YOLO © Cesar Ferreira