summaryrefslogtreecommitdiff
path: root/DaemonLogic.pm
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2011-03-07 20:47:27 +0000
committerPaul Buetow <paul@buetow.org>2011-03-07 20:47:27 +0000
commit85d5f0d033a8c63e0ea0d7197296ed94f6b7cd7c (patch)
tree78b6f80c5d4527f724ea3ab46d02f9598e071246 /DaemonLogic.pm
parent894a911a52a7689c5e19b3b5f9e70a793b625a55 (diff)
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;