Add a syslog module for Dancer

This commit is contained in:
Dan Langille 2018-03-05 21:43:08 +00:00
parent 6de2257f7d
commit b70214ea1c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463671
5 changed files with 39 additions and 0 deletions

View file

@ -2182,6 +2182,7 @@
SUBDIR += p5-DB_File-Lock
SUBDIR += p5-Daemon-Control
SUBDIR += p5-Dancer-Debug
SUBDIR += p5-Dancer-Logger-Syslog
SUBDIR += p5-Danga-Socket
SUBDIR += p5-Danga-Socket-Callback
SUBDIR += p5-Data-ACL

View file

@ -0,0 +1,18 @@
# $FreeBSD$
PORTNAME= Dancer-Logger-Syslog
PORTVERSION= 0.6
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= dvl@FreeBSD.org
COMMENT= Dancer logger engine for Sys::Syslog
LICENSE= GPLv1+
USES= perl5
USE_PERL5= configure modbuild
NO_ARCH= YES
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1520285029
SHA256 (Dancer-Logger-Syslog-0.6.tar.gz) = a1039a32c4c73c310525d32f1b34b6bebf63ccd370b2678c0e04703ed422a3f4
SIZE (Dancer-Logger-Syslog-0.6.tar.gz) = 14917

View file

@ -0,0 +1,15 @@
Dancer logger engine for Sys::Syslog
This module implements a logger engine that sends 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'
WWW: http://search.cpan.org/dist/Dancer-Logger-Syslog/

View file

@ -0,0 +1,2 @@
%%SITE_PERL%%/Dancer/Logger/Syslog.pm
%%PERL5_MAN3%%/Dancer::Logger::Syslog.3.gz