Lines 7-13
use Plack::App::Directory;
Link Here
|
7 |
|
7 |
|
8 |
#BZ 16357, add timestamps to warnings |
8 |
#BZ 16357, add timestamps to warnings |
9 |
use Log::Log4perl qw(:easy); |
9 |
use Log::Log4perl qw(:easy); |
10 |
Log::Log4perl->easy_init($WARN); |
10 |
Log::Log4perl->easy_init({ level => $WARN, utf8 => 1 }); |
11 |
my $logger = Log::Log4perl->get_logger(); # use the default logger style |
11 |
my $logger = Log::Log4perl->get_logger(); # use the default logger style |
12 |
$SIG{__WARN__} = sub { |
12 |
$SIG{__WARN__} = sub { |
13 |
my $message = shift; |
13 |
my $message = shift; |
14 |
- |
|
|