devel/p5-Log-Defer 0.312 FreeBSD
Deferred logs and timers
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 12.6 KiB, 21.2 KiB installed
Description
I believe a lot of log processing is done too early.
This module lets you defer log processing in two ways:
* Defer recording of log messages until some "transaction" has completed
Typically this transaction is something like an HTTP request or a cron job. Generally log messages are easier to read if they are recorded atomically and are not intermingled with log messages created by other transactions.
* Defer rendering of log messages
Sometimes you don't know how logs should be rendered until long after the message has been written. If you aren't sure what information you'll want to display, or you expect to display the same logs in multiple formats, it makes sense to store your logs in a highly structured format so they can be reliably parsed and processed later.
This module doesn't actually write out logs! To use this module for normal logging purposes you also need a logging library.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Log-Defer | 0.312 |
| DragonFly | devel/p5-Log-Defer | 0.312 |
Install
Binary package:
pkg install p5-Log-Defer
From the ports tree:
cd /usr/ports/devel/p5-Log-Defer/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Log-Defer>0:devel/p5-Log-Defer
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.312 | 0.312 | 0.312 | 0.312 | 0.312 |
| FreeBSD:14:quarterly | 0.312 | 0.312 | n/a | 0.312 | 0.312 |
| FreeBSD:15:latest | 0.312 | 0.312 | n/a | 0.312 | 0.312 |
| FreeBSD:15:quarterly | 0.312 | 0.312 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.312 | 0.312 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
p5-Guard>=0: devel/p5-Guard
Runtime 1
p5-Guard>=0: devel/p5-Guard
The full lists below include those, and their dependencies in turn.
Build dependencies 2
Run dependencies 2
Required by 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%PERL5_MAN3%%/Log::Defer.3.gz
- %%SITE_PERL%%/Log/Defer.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Log-Defer-0.312.tar.gz | 10096 | 39f8c66070ca6d40b0b5aa8bdefca414fcd962bbc6f9869c84ab3d3068b0ec84 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.