Skip to content

Commit

Permalink
Log: use the exported Reporter SYSLOG readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
stdweird committed Sep 4, 2015
1 parent 9f15d68 commit 6057fd0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/perl/Log.pm
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ package CAF::Log;
use strict;
use warnings;

use CAF::Reporter qw($SYSLOG);
use parent qw(CAF::Object);

use LC::Exception qw (SUCCESS throw_error);
Expand All @@ -18,8 +19,6 @@ Readonly my $FH => 'FH';
Readonly my $TSTAMP => 'TSTAMP';
Readonly my $FILENAME => 'FILENAME';
Readonly my $OPTS => 'OPTS';
Readonly my $SYSLOG => 'SYSLOG';


my $ec = LC::Exception::Context->new->will_store_all;

Expand Down Expand Up @@ -138,8 +137,6 @@ basename of the file without suffix (relevant for L<CAF::Reporter::syslog>).
=cut

# TODO: need to test $SYSLOG is same $SYSLOG of CAF::Reporter

sub _initialize ($$$)
{
my ($self, $filename, $options) = @_;
Expand Down

0 comments on commit 6057fd0

Please sign in to comment.