From: Christian Hansen Date: Tue, 22 Mar 2005 20:01:26 +0000 (+0000) Subject: $caller X-Git-Tag: 5.7099_04~1737 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=32620e3e2e33e336e75865b500a0d4686893e675 $caller --- diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 8db075a..d671fc2 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -152,8 +152,8 @@ sub import { } } - unless ( $self->log ) { - $self->log( Catalyst::Log->new ); + unless ( $caller->log ) { + $caller->log( Catalyst::Log->new ); } # Options