4 package TestAppViewWarnings;
10 __PACKAGE__->config( name => 'TestAppWarnings', root => '/some/dir', default_view => "DoesNotExist" );
12 __PACKAGE__->log(TestAppViewWarnings::Log->new);
16 package TestAppViewWarnings::Log;
18 use base qw/Catalyst::Log/;
19 sub warn { push(@TestAppViewWarnings::log_messages, @_[1..$#_]); }