NAME
Mojolicious::Plugin::Sentry - A perl sentry client for Mojolicious
VERSION
version 0.11
SYNOPSIS
# Mojolicious::Lite
plugin
'sentry'
=> {
sentry_dsn
=>
'DSN'
,
server_name
=>
'HOSTNAME'
,
logger
=>
'root'
,
platform
=>
'perl'
,
};
# Mojolicious with config
$self
->plugin(
'sentry'
=> {
sentry_dsn
=>
'DSN'
,
server_name
=>
'HOSTNAME'
,
logger
=>
'root'
,
platform
=>
'perl'
,
});
# template: tmpl/exception.html.ep
% sentryCaptureMessage
$exception
;
DESCRIPTION
Mojolicious::Plugin::Sentry is a plugin for the Mojolicious web framework which allow you use Sentry https://getsentry.com.
See also Sentry::Raven for configuration parameters on init plugin and for use sentryCaptureMessage.
SEE ALSO
SOURCE REPOSITORY
https://github.com/likhatskiy/Mojolicious-Plugin-Sentry
AUTHOR
Alexey Likhatskiy, <likhatskiy@gmail.com>
LICENSE AND COPYRIGHT
Copyright (C) 2014 "Alexey Likhatskiy"
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.