X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-DBIC-API.git;a=blobdiff_plain;f=t%2Flib%2FRestTest.pm;h=6af6fa05b16a8aec626c447b12d9bdf9859d2c70;hp=a2550b8534bc5dd52a52f856772c48721d6b517a;hb=424de19e91ab12cbb5a747182459471bef9bc15c;hpb=8ee81496088e875e33f8b9cf289da3eb9940fa0e diff --git a/t/lib/RestTest.pm b/t/lib/RestTest.pm index a2550b8..6af6fa0 100644 --- a/t/lib/RestTest.pm +++ b/t/lib/RestTest.pm @@ -31,6 +31,15 @@ __PACKAGE__->config( name => 'RestTest' ); # Start the application __PACKAGE__->setup; +my $logger = Class::MOP::Class->create( + 'MyLog', + methods => { + (map { ($_ => sub { () }), ("is_${_}" => sub { () }) } qw(debug info warn error fatal)), + (map { ($_ => sub { () }) } qw(level levels enable disable abort)), + }, +); + +__PACKAGE__->log($logger->new_object); =head1 NAME