Fix platform logger

This commit is contained in:
Nick Farina
2015-10-20 11:36:06 -07:00
parent 74f0f00321
commit d443286dcb

View File

@@ -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);