mirror of
https://github.com/mathew-kurian/Scribe.js
synced 2025-04-25 06:45:10 +00:00
19 lines
349 B
JavaScript
19 lines
349 B
JavaScript
|
var scribe = require('../scribe.js')({
|
||
|
createDefaultConsole : false
|
||
|
});
|
||
|
|
||
|
var consoleOne = scribe.console({
|
||
|
logWriter : {
|
||
|
rootPath : "testLogs"
|
||
|
}
|
||
|
});
|
||
|
var consoleTwo = scribe.console({
|
||
|
logWriter : {
|
||
|
rootPath : "testLogs"
|
||
|
}
|
||
|
});
|
||
|
|
||
|
//both will log in /testLogs
|
||
|
consoleOne.log("Hello one");
|
||
|
consoleOne.log("Hello two");
|