mirror of
https://git.topisto.net/tibo/template.git
synced 2026-03-31 19:29:10 +00:00
initialisation with SMETI code
This commit is contained in:
10
frontend/src/scripts/tools/logs.js
Normal file
10
frontend/src/scripts/tools/logs.js
Normal file
@@ -0,0 +1,10 @@
|
||||
var useLog=false;
|
||||
var useError=true;
|
||||
function myLog(message) {
|
||||
if (useLog)
|
||||
console.log(message);
|
||||
}
|
||||
function myError(message) {
|
||||
if (useError)
|
||||
console.error(message);
|
||||
}
|
||||
Reference in New Issue
Block a user