diff --git a/examples/console2.js b/examples/console2.js index 45be3e3..ca7e97e 100644 --- a/examples/console2.js +++ b/examples/console2.js @@ -4,12 +4,10 @@ * Console2 functions */ -require('../scribe')(); //loads Scribe +require('../scribe')(); //loads Scribe (with basic loggers) var console = process.console; //create a local (for the module) console -console.addLogger('log'); - console.log("Hello"); console.log("A string %s and a number %d", "hello", "123"); //you can use printf-like format diff --git a/examples/logWriter_config.js b/examples/logWriter_config.js index 2e02068..7ae785f 100644 --- a/examples/logWriter_config.js +++ b/examples/logWriter_config.js @@ -77,9 +77,9 @@ var consoleThree = scribe.console({ * Then check logsConsoleOne and logsConsoleTwo folders */ -consoleOne.addLogger('log'); -consoleTwo.addLogger('log'); -consoleThree.addLogger('log'); +//consoleOne.addLogger('log'); +//consoleTwo.addLogger('log'); +//consoleThree.addLogger('log'); consoleOne.time().log('Hello World from consoleOne'); consoleTwo.time().log('Hello World from consoleTwo'); diff --git a/examples/run_with_config.js b/examples/run_with_config.js index 805af1c..429f49e 100644 --- a/examples/run_with_config.js +++ b/examples/run_with_config.js @@ -18,7 +18,9 @@ var myConfigConsole = scribe.console({ dateColors : ['gray', 'bgMagenta'], fileColors : 'white', lineColors : ['yellow', 'inverse'] - } + }, + + createBasic : false //Don't create basic loggers }); diff --git a/examples/webPanel.js b/examples/webPanel.js index 57d72ad..7ff8944 100644 --- a/examples/webPanel.js +++ b/examples/webPanel.js @@ -13,7 +13,6 @@ app.use('/logs', scribe.webPanel()); //Make some logs -console.addLogger('log'); console.addLogger('debug', 'inverse'); console.addLogger('fun', 'rainbow');