/dancer2-logger-psgi

PSGI Log handler for Dancer2

Primary LanguagePerlOtherNOASSERTION

NAME

Dancer2::Logger::PSGI - PSGI logger for Dancer2

VERSION

version 0.01

SYNOPSIS

In your Dancer's config file: logger: PSGI

In your application

log("error", "this is a error");

DESCRIPTION

This class is an interface between your Dancer's application and psgix.logger. Messages will be logged in whatever logger you decided to use in your Plack handler. If no logger is defined, nothing will be logged.

METHODS

log

Writes the log message to your defined logger.

NAME

Dancer2::Logger::PSGI - PSGI Log handler for Dancer2

CONFIGURATION

The setting logger should be set to PSGI in order to use this logging engine in a Dancer2 application.

There is no additional setting available with this engine.

AUTHOR

Dinis Rebolo

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Dinis Rebolo <drebolo AT cpan DOT com>. It is released under the terms of the MIT (X11) License and may be modified and/or redistributed under the same or any compatible license.

AUTHOR

Dinis Rebolo

COPYRIGHT AND LICENSE

This software is Copyright (c) 2016 by Dinis Rebolo.

This is free software, licensed under:

The MIT (X11) License