summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/LogMarker.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/LogMarker.py')
-rw-r--r--module/plugins/hooks/LogMarker.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/module/plugins/hooks/LogMarker.py b/module/plugins/hooks/LogMarker.py
new file mode 100644
index 000000000..eb78a28ff
--- /dev/null
+++ b/module/plugins/hooks/LogMarker.py
@@ -0,0 +1,20 @@
+# -*- coding: utf-8 -*-
+
+from module.plugins.internal.Addon import Addon, Expose
+
+
+class LogMarker(Addon):
+ __name__ = "LogMarker"
+ __type__ = "hook"
+ __version__ = "0.01"
+ __status__ = "testing"
+
+ __description__ = """Log a mark when the day begins"""
+ __license__ = "GPLv3"
+ __authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
+
+
+ def periodical(self):
+ self.log_info("------------------------------------------------")
+ self.log_info(_("--------------------- MARK ---------------------"))
+ self.log_info("------------------------------------------------") \ No newline at end of file