mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-08 05:31:55 +00:00
Fix platform logger
This commit is contained in:
@@ -176,7 +176,7 @@ Server.prototype._loadPlatforms = function() {
|
||||
throw new Error("Your config.json is requesting the platform '" + platformType + "' which has not been published by any installed plugins.");
|
||||
|
||||
// Create a custom logging function that prepends the platform name for debugging
|
||||
var platformLogger = Logger.withPrefix(accessoryName);
|
||||
var platformLogger = Logger.withPrefix(platformName);
|
||||
|
||||
platformLogger("Initializing %s platform...", platformType);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user