X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FLog.pm;h=a74f614ac7a93365369d30eeb7a6048d815d4736;hb=eb7d1369a13ed9a451972f256d1ded95966753aa;hp=7a69d039b3f66bbc94aebb90e38c9c178daddc77;hpb=2f3812528068bc1d9f7840067f0c03d36cd47e6d;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Log.pm b/lib/Catalyst/Log.pm index 7a69d03..a74f614 100644 --- a/lib/Catalyst/Log.pm +++ b/lib/Catalyst/Log.pm @@ -1,7 +1,10 @@ package Catalyst::Log; use Moose; +with 'MooseX::Emulate::Class::Accessor::Fast'; + use Data::Dump; +use Class::MOP::Object (); our %LEVELS = (); @@ -12,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];