We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a85a47f commit 7878a4aCopy full SHA for 7878a4a
lib/Daemonise/Plugin/Daemon.pm
@@ -185,8 +185,10 @@ after 'configure' => sub {
185
186
=cut
187
188
-after 'log' => sub {
189
- my ($self, $msg) = @_;
+around 'log' => sub {
+ my ($orig, $self, $msg) = @_;
190
+
191
+ $self->$orig($msg);
192
193
return unless ($self->has_logfile);
194
lib/Daemonise/Plugin/Syslog.pm
@@ -108,8 +108,10 @@ after 'configure' => sub {
108
109
110
111
112
113
114
115
116
return unless $self->syslog_log;
117
0 commit comments