No description, website, or topics provided.
Perl6
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/Crust/Middleware We only need one logger; allow custom ident Nov 3, 2015
t set things up Nov 3, 2015
LICENSE Initial commit Nov 3, 2015
META.info Add mandatory "perl" META field Oct 26, 2016
README.md doc custom ident Nov 3, 2015

README.md

Crust::Middleware::Syslog

use Crust::Builder;
use Crust::Middleware::Syslog;

builder {
    enable 'Syslog', ident => 'MyApp';
    $app;
}

or

use Crust::Middleware::Syslog;

$app = Crust::Middleware::Syslog.new($app);

And in your app:

%env<p6sgix.logger>('debug', 'Things happened!');