Closed jeff-winn closed 1 year ago
Describe The Bug: The logs being written from the platform class appear to be missing the indicating they're coming from the platform name.
To Reproduce: Start up the plugin, and review the logs.
Expected behavior: All logs coming from the platform when a custom name is used should begin with: [Homebridge Automower Platform - Developer 1]
Logs:
[11/19/2022, 10:02:24 AM] [Developer 1] Initializing Homebridge Automower Platform platform... [11/19/2022, 10:02:24 AM] [Developer 1] Configuring 'Dobby' from the accessory cache.
Plugin Config:
{ "name": "Developer 1", "lang": "en", "appKey": "REDACTED", "authentication_mode": "client_credentials", "application_secret": "REDACTED", "platform": "Homebridge Automower Platform" }
Environment:
Instead of changing how the platform logged, I opted to just have the plug-in match what Homebridge itself was doing since the plug-in logger was supposed to be an imitation.
Describe The Bug: The logs being written from the platform class appear to be missing the indicating they're coming from the platform name.
To Reproduce: Start up the plugin, and review the logs.
Expected behavior: All logs coming from the platform when a custom name is used should begin with: [Homebridge Automower Platform - Developer 1]
Logs:
Plugin Config:
Environment: