From d811775c596529d233317f74be6ace705424cd5f Mon Sep 17 00:00:00 2001 From: James Schafer Date: Sun, 11 Jun 2017 20:06:47 -0400 Subject: [PATCH] Added Log Messages to show program flow. --- Melody49Notifier/Melody49Notifier.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Melody49Notifier/Melody49Notifier.cs b/Melody49Notifier/Melody49Notifier.cs index 0a95c65..99f9f8d 100644 --- a/Melody49Notifier/Melody49Notifier.cs +++ b/Melody49Notifier/Melody49Notifier.cs @@ -17,8 +17,13 @@ public static void Run([TimerTrigger("0 0 8-18 * * FRI")]TimerInfo myTimer, Trac if (TheaterScheduleHasUpdated(log, out TheaterSchedule currentTheaterSchedule)) { + log.Info($"Theater Schedule has updated. Sending Notifications."); SendNotification(log, currentTheaterSchedule); } + else + { + log.Info($"Theater Schedule has not updated."); + } log.Info($"C# Timer trigger function completed at: {DateTime.Now}."); }