mirror of
https://github.com/dtwardow/homebridge-multi-tap-switch.git
synced 2026-11-02 05:18:30 +00:00
Changed/fixxed logging
This commit is contained in:
1 parent
6e388601f8
commit
938598575e
3 files changed
+4
-4
No files matched your search
@@ -21,8 +21,8 @@ export class Logging {
|
||||
|
||||
log(...parts: any) {
|
||||
this.isDebug ?
|
||||
this.logHandler.debug(this.msgPrefix(), ...parts) :
|
||||
this.logHandler.info(this.msgPrefix(), ...parts);
|
||||
this.logHandler.info(this.msgPrefix(), ...parts) :
|
||||
this.logHandler.debug(this.msgPrefix(), ...parts);
|
||||
}
|
||||
|
||||
warn = (...parts: any) => this.logHandler.warn(this.msgPrefix(), ...parts);
|
||||
|
||||
Reference in new issue
Block a user