No description, website, or topics provided.
Other
Switch branches/tags
Nothing to show
Latest commit 2da5706 Jun 15, 2017 @retupmoca committed on GitHub Merge pull request #2 from zoffixznet/patch-1
Use modern META filename
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
META6.json Use modern META filename Apr 25, 2017
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!');