From 19728e4a2409726d71eaafee97abe2bb0c1d73c1 Mon Sep 17 00:00:00 2001 From: Guillaume Wuip Date: Mon, 2 Feb 2015 18:10:42 +0100 Subject: [PATCH] Add custom location example --- examples/console2.js | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/console2.js b/examples/console2.js index d66e39b..8108b9d 100644 --- a/examples/console2.js +++ b/examples/console2.js @@ -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'});