BSD Ports

devel/p5-Log-Dispatch-ArrayWithLimits 0.050 DragonFly

Log to array, with some limits applied

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
7.6 KiB, 13.0 KiB installed

Description

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.

In the other systems

SystemPortVersion
DragonFlydevel/p5-Log-Dispatch-ArrayWithLimits0.050
FreeBSDdevel/p5-Log-Dispatch-ArrayWithLimits0.050
HardenedBSDdevel/p5-Log-Dispatch-ArrayWithLimits0.050
GhostBSDdevel/p5-Log-Dispatch-ArrayWithLimits0.050

Install

Binary package:

pkg install p5-Log-Dispatch-ArrayWithLimits

From DPorts:

cd /usr/dports/devel/p5-Log-Dispatch-ArrayWithLimits && make install clean

Dependencies

Run dependencies 2
Required by 1