mirror of
https://github.com/mathew-kurian/Scribe.js
synced 2025-04-24 14:25:00 +00:00
18 lines
348 B
JavaScript
18 lines
348 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");
|