forked from mirrors/Scribe.js
Add custom location example
This commit is contained in:
parent
3a02270c46
commit
19728e4a24
1 changed files with 1 additions and 0 deletions
|
@ -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'});
|
||||
|
|
Loading…
Add table
Reference in a new issue