0.0.3 • Published 10 years ago

whir-clog v0.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

clog

Simple wrapper around console.log which prepends a duration at the start.

var clog = require('whir-clog');

clog('hi'); // 0.022s - hi

// can bind it just like console log too

var boundClog = clog.bind(null, 'other');
boundClog('thing'); // 0.032s - other thing

##todo

  • adapt timestring depending on how long it has been running
0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago