Просмотр исходного кода

Log calculated trigger date in debug mode

Sebastián Katzer 7 лет назад
Родитель
Сommit
3e4d877bd8

+ 3 - 0
src/windows/LocalNotificationProxy/LocalNotificationProxy/LocalNotification/Builder.cs

@@ -22,6 +22,7 @@
 namespace LocalNotificationProxy.LocalNotification
 {
     using Microsoft.Toolkit.Uwp.Notifications;
+    using System.Diagnostics;
     using Windows.UI.Notifications;
 
     internal class Builder
@@ -160,6 +161,8 @@ namespace LocalNotificationProxy.LocalNotification
             var at = this.request.TriggerDate;
             ScheduledToastNotification notification;
 
+            Debug.WriteLine("[local-notification] Next trigger at: " + at);
+
             if (!at.HasValue)
             {
                 return null;