mirror of
https://github.com/mtan93/homebridge.git
synced 2026-04-02 22:04:20 +01:00
This commit is contained in:
@@ -67,7 +67,7 @@ Logger.prototype.log = function(level, msg) {
|
|||||||
|
|
||||||
// prepend timestamp
|
// prepend timestamp
|
||||||
var date = new Date();
|
var date = new Date();
|
||||||
msg = chalk.black("[" + date.toLocaleString() + "]") + " " + msg;
|
msg = "[" + date.toLocaleString() + "]" + " " + msg;
|
||||||
|
|
||||||
func(msg);
|
func(msg);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user