|
|
@@ -414,7 +414,7 @@ function MagicJS(scriptName = "MagicJS", logLevel = "INFO") {
|
|
|
this.post(options, err => {});
|
|
|
}
|
|
|
log(msg, level = "INFO") {
|
|
|
- if (!(this.logLevels[this._logLevel] < this.logLevels[level.toUpperCase()])) console.log(`██[${level}]`+'-'+`${msg}`+'\n');
|
|
|
+ if (!(this.logLevels[this._logLevel] < this.logLevels[level.toUpperCase()])) console.log(`██[${level}]`+''+`${msg}`+'\n');
|
|
|
}
|
|
|
logDebug(msg) {
|
|
|
this.log(msg, "DEBUG");
|