summaryrefslogtreecommitdiff
path: root/DaemonLogic.pm
diff options
context:
space:
mode:
Diffstat (limited to 'DaemonLogic.pm')
-rw-r--r--DaemonLogic.pm17
1 files changed, 17 insertions, 0 deletions
diff --git a/DaemonLogic.pm b/DaemonLogic.pm
new file mode 100644
index 0000000..49583ed
--- /dev/null
+++ b/DaemonLogic.pm
@@ -0,0 +1,17 @@
+package DaemonLogic;
+
+sub new ($$$) {
+ my ($class, $conf) = @_;
+
+ return bless { conf => $conf }, $class;
+}
+
+sub do ($) {
+ my $self = shift;
+ my $conf = $self->{conf};
+ my $logger = $conf->{logger};
+
+ $logger->logmsg('Test');
+}
+
+1;