=pod =encoding UTF-8 =head1 NAME Dancer2::Logger::Syslog - Dancer2 logger engine for Sys::Syslog =head1 VERSION version 0.1 =head1 DESCRIPTION This module implements a logger engine that send log messages to syslog, through the Sys::Syslog module. =head1 CONFIGURATION The setting B should be set to C in order to use this logging engine in a Dancer2 application. The attributes in the following example configuration are supported: logger: "Syslog" engines: logger: Syslog: facility: "LOCAL0" ident: "my_app" logopt: "pid" The allowed options are: =over 4 =item facility Which syslog facility to use, defaults to 'USER' =item ident String prepended to every log line, defaults to the configured I or, if not defined, to the executable's basename. =item logopt Log options passed to C as per Sys::Syslog's docs. Defaults to 'pid'. =back =head1 METHODS =head1 DEPENDENCY This module depends on L. =head1 SEE ALSO See L for details about logging in route handlers. =head1 AUTHORS =over 4 =item * Andy Beverley =item * Yanick Champoux =back =head1 COPYRIGHT AND LICENSE This software is copyright (c) 2014 by Andy Beverley, Yanick Champoux, Alexis Sukrieh This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. =cut