A lock-free logger compatible with Ruby 2.0
This commit is contained in:
@@ -5593,6 +5593,7 @@
|
||||
SUBDIR += rubygem-moneta
|
||||
SUBDIR += rubygem-moneta06
|
||||
SUBDIR += rubygem-mongo
|
||||
SUBDIR += rubygem-mono_logger
|
||||
SUBDIR += rubygem-msgpack
|
||||
SUBDIR += rubygem-msgpack1
|
||||
SUBDIR += rubygem-mspec
|
||||
|
||||
18
devel/rubygem-mono_logger/Makefile
Normal file
18
devel/rubygem-mono_logger/Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mono_logger
|
||||
PORTVERSION= 1.1.0
|
||||
CATEGORIES= devel ruby
|
||||
MASTER_SITES= RG
|
||||
|
||||
MAINTAINER= dvl@FreeBSD.org
|
||||
COMMENT= Lock-free logger compatible with Ruby 2.0
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
NO_ARCH= yes
|
||||
USES= gem
|
||||
USE_RUBY= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
devel/rubygem-mono_logger/distinfo
Normal file
3
devel/rubygem-mono_logger/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1510682105
|
||||
SHA256 (rubygem/mono_logger-1.1.0.gem) = d7ab7f237935b295e072a99fa84379a3e1bcccd2822fee2ecfacecde07a6d7a3
|
||||
SIZE (rubygem/mono_logger-1.1.0.gem) = 10240
|
||||
5
devel/rubygem-mono_logger/pkg-descr
Normal file
5
devel/rubygem-mono_logger/pkg-descr
Normal file
@@ -0,0 +1,5 @@
|
||||
Ruby's stdlib Logger wraps all IO in mutexes. Ruby 2.0 doesn't allow you to
|
||||
request a lock in a trap handler because that could deadlock. This gem fixes
|
||||
this issue by giving you a lock-free logger class.
|
||||
|
||||
WWW: https://github.com/steveklabnik/mono_logger
|
||||
Reference in New Issue
Block a user