Log::D...cheLog(3pm)
π Log::Dispatch::ApacheLog β the perl one π
okay bestie, welcome to Log::Dispatch::ApacheLog (it's a 3pm page, so like, a Perl module, iykyk) π
β¨ NAME β¨
Log::Dispatch::ApacheLog β it's literally an Object for logging to Apache::Log objects. that's the whole vibe. π
πΈ VERSION πΈ
version 2.71 β yeah she's on 2.71, no cap β¨
π¦ SYNOPSIS π¦
here's the moment you've been waiting for, the actual code:
use Log::Dispatch;
my $log = Log::Dispatch->new(
outputs => [
[ 'ApacheLog', apache => $r ],
],
);
$log->emerg('Kaboom');
see how easy that was?? $log->emerg('Kaboom') β iconic. main character energy fr fr π₯
π DESCRIPTION π
so basically this module lets you pass your messages straight to Apache's log object, which is represented by the Apache::Log class. that's it. that's the whole job. she's a little relay, a little messenger fairy π§ passing your logs along. obsessed.
π CONSTRUCTOR π
okay so when you build one of these, the constructor takes the following parameters in addition to the standard parameters documented in Log::Dispatch::Output (go read that one too, bestie, don't skip it π).
apache($) β an object of either theApacheorApache::Serverclasses. Required. like, you literally cannot skip this one, it's non-negotiable π
π«Ά SUPPORT π«Ά
found a bug? a little oopsie? a glitch in the matrix? π you can submit bugs at <https://github.com/houseabsolute/Log-Dispatch/issues> β the devs are listening, periodt.
π SOURCE π
the source code repository for Log-Dispatch lives at <https://github.com/houseabsolute/Log-Dispatch> if you wanna go snoop around and read the whole thing yourself. lowkey a good time. π₯
β AUTHOR β
Dave Rolsky <autarch@urth.org> β thank you king, we appreciate you π
π COPYRIGHT AND LICENSE π
This software is Copyright (c) 2023 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
The full text of the license can be found in the LICENSE file included with this distribution. read it, bestie, it's giving responsible citizen πΈ
ok that's the whole page, go forth and log responsibly π«‘
and that's a wrap, babe!! π this was perl v5.36.0, dated 2023-06-11, and the page you just read was Log::Dispatch::ApacheLog(3pm) π slay, bye π
β¨
π¦ where this page comes from
- debian trixie: liblog-dispatch-perl 2.71-1 Β· Artistic-2.0
- ubuntu noble: liblog-dispatch-perl 2.71-1 Β· Artistic-2.0
- ubuntu resolute: liblog-dispatch-perl 2.71-1 Β· Artistic-2.0
- ubuntu stonking: liblog-dispatch-perl 2.71-1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms