Refacotring webDebugLog
This commit is contained in:
1 parent
24d72f4a9a
commit
600c79506b
20 files changed
+20
-20
No files matched your search
@@ -0,0 +1,16 @@
|
||||
|
||||
function newWebDebugLog() {
|
||||
|
||||
let thisObject = {
|
||||
write: write,
|
||||
fileName: undefined
|
||||
}
|
||||
|
||||
return thisObject;
|
||||
|
||||
function write(pText) {
|
||||
|
||||
console.log(thisObject.fileName + " : " + pText);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user