Configure logging

This commit is contained in:
swagg boi 2023-10-08 10:45:47 -04:00
parent 6cd8aa1c77
commit b57dcec6ad

View file

@ -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 => '/');