Add custom location example

This commit is contained in:
Guillaume Wuip 2015-02-02 18:10:42 +01:00
parent 3a02270c46
commit 19728e4a24

View file

@ -22,6 +22,7 @@ console.tag({msg : 'my-tag', colors : ['red', 'inverse']}).log("Use colors.js co
//File and line number
console.file().log("Print the file and the line of the call");
console.file('myFile.js', 42).log("Custom filename and line");
//Object
console.log({just : 'an object'});