X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FPage%2FBase.pm;h=3a58c188af55920d61d198f64206aab68d04201b;hb=191f4979def520b8be01554eb954c80ee42df38b;hp=b328d2b257fbfa84a36478a8fad500a46e8cef71;hpb=db3d5b78fecd78a000cd92b2b29ca8cffea59b4d;p=plack-app-gruntmaster.git diff --git a/lib/Gruntmaster/Page/Base.pm b/lib/Gruntmaster/Page/Base.pm index b328d2b..3a58c18 100644 --- a/lib/Gruntmaster/Page/Base.pm +++ b/lib/Gruntmaster/Page/Base.pm @@ -27,7 +27,7 @@ sub import { *{"${caller}::TITLE"} = sub () { $title }; *{"${caller}::debug"} = sub { local $Log::Log4perl::caller_depth = $Log::Log4perl::caller_depth + 1; - $_[0]->({qw/level debug message/ => $_[1]}) + $_[0]->{'psgix.logger'}->({qw/level debug message/ => $_[1]}) }; } @@ -76,7 +76,7 @@ my %orig_header_templates = (
TITLE_GOES_HERE
- +
HTML );