mirror of
https://github.com/mtan93/homebridge.git
synced 2026-04-01 22:04:15 +01:00
Changed color for logging timestamp to white.
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 = chalk.white("[" + date.toLocaleString() + "]") + " " + msg;
|
||||||
|
|
||||||
func(msg);
|
func(msg);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user