sub my_warnings { $warn[0] };
sub warn { shift; push(@warn, @_) }
-
+
package MyApp::Controller::Root;
$INC{'MyApp/Controller/Root.pm'} = __FILE__;
sub debug { 1 }
- __PACKAGE__->log(TestAppStats::Log->new);
+ __PACKAGE__->log(TestAppStats::Log->new('warn'));
after 'finalize' => sub {
my ($c) = @_;