| 1 | package Plack::App::FakeApache::Server; | ||
| 2 | $Plack::App::FakeApache::Server::VERSION = '0.1'; | ||
| 3 | use Moo; | ||
| 4 | use namespace::autoclean; | ||
| 5 | use Plack::App::FakeApache::Log; | ||
| 6 | |||
| 7 | has log => ( | ||
| 8 | is => 'rw', | ||
| 9 | default => sub { Plack::App::FakeApache::Log->new() }, | ||
| 10 | handles => [ qw(log_error log_serror warn) ], | ||
| 11 | ); | ||
| 12 | |||
| 13 | 1; |