0.0.1 • Published 10 years ago
consolor v0.0.1
consolor
"Nodejs timestamp logging with colors for easy reading"
Usage
Installing
npm install consolor
Example
require('consolor')(console);
console.time("call to console.time");
console.log("call to console.log");
console.info("call. to console.info");
console.warn("call. to console.warn");
console.error("call. to console.error");
console.dir({foo: "bar"});
console.trace();
console.timeEnd("call to console.timeEnd");
console.assert(count < 10, "count is > 10");
See more about timestamp patterns at felixge's dateformat
0.0.1
10 years ago