NAME

WWW::Suffit::Plugin::Syslog - A plugin for enabling logging to syslog for Suffit API servers

SYNOPSIS

# in your startup
$self->plugin('WWW::Suffit::Plugin::Syslog');

DESCRIPTION

This plugin for enabling logging to syslog for Suffit API servers

METHODS

Internal methods

register

Do not use directly. It is called by Mojolicious.

OPTIONS

enable

Need to be true to activate this plugin. Default to true if "mode" in Mojolicious is something else than "development"

facility

The syslog facility to use. Default to "user"

ident

The syslog ident to use. Default to "moniker" in Mojolicious

SEE ALSO

Mojolicious, Mojolicious::Plugin, Mojolicious::Plugin::Syslog

AUTHOR

Serż Minus (Sergey Lepenkov) https://www.serzik.com <abalama@cpan.org>

COPYRIGHT

Copyright (C) 1998-2023 D&D Corporation. All Rights Reserved

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See LICENSE file and https://dev.perl.org/licenses/