Watchdog: Add Notlog setting function

Add function to set Notlog property to implement the function of
the watchdog not recording logs.

Related commit:
https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/66240
https://gerrit.openbmc.org/c/openbmc/phosphor-watchdog/+/66242

Change-Id: Ia90c345a72f8f877aa8f8216337a1267f09b839a
Signed-off-by: Tim Chao <Tim.Chao@quantatw.com>
diff --git a/app/watchdog_service.cpp b/app/watchdog_service.cpp
index e17f146..f9fb625 100644
--- a/app/watchdog_service.cpp
+++ b/app/watchdog_service.cpp
@@ -183,6 +183,11 @@
     setProperty("Enabled", enabled);
 }
 
+void WatchdogService::setNotlog(bool Notlog)
+{
+    setProperty("Notlog", Notlog);
+}
+
 void WatchdogService::setExpireAction(Action expireAction)
 {
     setProperty("ExpireAction", convertForMessage(expireAction));