X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FLog.pm;h=a74f614ac7a93365369d30eeb7a6048d815d4736;hb=6e3de58fc7d0a4302fe9791c36346839ad91fb12;hp=fad0f0ea528f857d05b76a94a3e19c80d38e88ce;hpb=531f1ab6f98c126f57075dbbca4884ac9728703c;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Log.pm b/lib/Catalyst/Log.pm index fad0f0e..a74f614 100644 --- a/lib/Catalyst/Log.pm +++ b/lib/Catalyst/Log.pm @@ -4,6 +4,7 @@ use Moose; with 'MooseX::Emulate::Class::Accessor::Fast'; use Data::Dump; +use Class::MOP::Object (); our %LEVELS = (); @@ -14,7 +15,7 @@ has abort => (is => 'rw'); { my @levels = qw[ debug info warn error fatal ]; - my $meta = __PACKAGE__->meta; + my $meta = __PACKAGE__->Class::MOP::Object::meta(); for ( my $i = 0 ; $i < @levels ; $i++ ) { my $name = $levels[$i];