Configure logging
This commit is contained in:
parent
6cd8aa1c77
commit
b57dcec6ad
|
@ -1,4 +1,6 @@
|
|||
use Humming-Bird::Core;
|
||||
use Humming-Bird::Middleware;
|
||||
use Humming-Bird::Advice;
|
||||
use Template6;
|
||||
use Base64;
|
||||
use Libarchive::Filter :gzip;
|
||||
|
@ -10,6 +12,10 @@ use Libarchive::Filter :gzip;
|
|||
my $templates = Template6.new;
|
||||
$templates.add-path: 'templates';
|
||||
|
||||
# Logging
|
||||
middleware &middleware-logger;
|
||||
advice &advice-logger;
|
||||
|
||||
# Must set the root path lest yet miss setting $!root
|
||||
my $router = Router.new(root => '/');
|
||||
|
||||
|
|
Loading…
Reference in a new issue