Files
Superalgos/DebugLog.js
T

16 lines
230 B
JavaScript

function newDebugLog() {
let thisObject = {
write: write,
fileName: undefined
}
return thisObject;
function write(pText) {
console.log(thisObject.fileName + " : " + pText);
}
}