mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 04:45:17 +00:00
run prettier
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
root.Log = factory(root.config);
|
||||
}
|
||||
})(this, function (config) {
|
||||
|
||||
let logLevel = {
|
||||
debug: Function.prototype.bind.call(console.debug, console),
|
||||
log: Function.prototype.bind.call(console.log, console),
|
||||
@@ -37,8 +36,8 @@
|
||||
};
|
||||
|
||||
if (process.env.NODE_ENV.trim() !== "test") {
|
||||
logLevel.push({timeStamp: Function.prototype.bind.call(console.timeStamp, console)});
|
||||
};
|
||||
logLevel.push({ timeStamp: Function.prototype.bind.call(console.timeStamp, console) });
|
||||
}
|
||||
|
||||
logLevel.setLogLevel = function (newLevel) {
|
||||
if (newLevel) {
|
||||
|
Reference in New Issue
Block a user