mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 10:58:28 +00:00
fix: Use RegisterWithLogging for touchpanel registration
Replaced _touchpanel.Register() with _touchpanel.RegisterWithLogging() to add logging during touchpanel registration, improving debugging and monitoring capabilities.
This commit is contained in:
parent
21faed417b
commit
f64d8a3f11
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ namespace PepperDash.Essentials.Core.Touchpanels
|
||||||
|
|
||||||
if (_touchpanel.Registerable)
|
if (_touchpanel.Registerable)
|
||||||
{
|
{
|
||||||
var registrationResponse = _touchpanel.Register();
|
var registrationResponse = _touchpanel.RegisterWithLogging(Key);
|
||||||
Debug.LogMessage(LogEventLevel.Information, this, "touchpanel registration response: {0}", registrationResponse);
|
Debug.LogMessage(LogEventLevel.Information, this, "touchpanel registration response: {0}", registrationResponse);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue