|Dancer::Logger::Syslog(3pm)||User Contributed Perl Documentation||Dancer::Logger::Syslog(3pm)|
Dancer::Logger::Syslog - Dancer logger engine for Sys::Syslog
This module implements a logger engine that send log messages to syslog, through the Sys::Syslog module.
The setting logger should be set to "syslog" in order to use this session engine in a Dancer application.
You can also specify the other configuration via the 'syslog' config key, e.g.
syslog: facility: 'local0' ident: 'my_app'
The allowed options are:
The init method is called by Dancer when creating the logger engine with this class.
This method defines how to format messages for Syslog, it's a bit different than the standard one provided by Dancer::Logger::Abstract because Syslog already provides a couple of information.
This module depends on Sys::Syslog.
See Dancer for details about logging in route handlers.
- Alexis Sukrieh <email@example.com>
- Yanick Champoux <firstname.lastname@example.org>
COPYRIGHT AND LICENSE¶
This software is copyright (c) 2010 by 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.