FreeBSD.software
Home/devel/p5-Log-Dispatch-ArrayWithLimits

p5-Log-Dispatch-ArrayWithLimits

0.050devel

Log to array, with some limits applied

Log::Dispatch::ArrayWithLimits functions similarly to Log::Dispatch::Array, with a few differences: - only the messages (strings) are stored - allow specifying array variable name (e.g. "My::array" instead of \@My:array) This makes it possible to use in Log::Log4perl configuration, which is a text file. - can apply some limits Currently only max_elems (the maximum number of elements in the array) is available. Future limits will be added (see "TODO"). Logging to an in-process array can be useful when debugging/testing, or when you want to let users of your program connect to your program to request viewing the ogs being produced.

$pkg install p5-Log-Dispatch-ArrayWithLimits
metacpan.org/release/Log-Dispatch-ArrayWithLimits
Origin
devel/p5-Log-Dispatch-ArrayWithLimits
Size
12.8KiB
License
ART10, GPLv1+
Maintainer
sunpoet@FreeBSD.org
Dependencies
2 packages
Required by
1 packages

Dependencies (2)

Required By (1)