mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-14 01:25:38 -05:00
Add logging
This commit is contained in:
@@ -45,8 +45,13 @@ public class MessageHandler : IHostedService
|
||||
|
||||
private async Task RequestLatestStatus()
|
||||
{
|
||||
WriteLog("RequestLatestStatus");
|
||||
|
||||
foreach (var device in _deviceRepository.Values)
|
||||
{
|
||||
WriteLog($"RequestLatestStatus: {device.Name}");
|
||||
await SendDeviceStatus(device);
|
||||
}
|
||||
}
|
||||
|
||||
private async Task OnInterceptingPublishAsync(InterceptingPublishEventArgs arg)
|
||||
|
||||
Reference in New Issue
Block a user