CGI::A...up::Log(3pm)
NAME πΈ
okay bestie, welcome to the manual page for CGI::Application::Plugin::DevPopup::Log β the header shortens it to CGI::A...up::Log(3pm), and yes itβs User Contributed Perl Documentation, we love that for us. Its whole iconic job: show all data written to an IO::Scalar handle. π
VERSION β¨
version 1.08 β thatβs the vibe check, and it passed. π
SYNOPSIS π¦
okay so hereβs the setup, exactly as the page lays it out:
use CGI::Application::Plugin::DevPopup;
use CGI::Application::Plugin::DevPopup::Log;
sub cgiapp_init {
# example using LogDispatch
my $log_fh = $this->devpopup_log_handle;
$this->log_config(
APPEND_NEWLINE => 1,
LOG_DISPATCH_MODULES => [
{ module => 'Log::Dispatch::Handle',
name => 'popup',
min_level => $ENV{CAP_DEVPOPUP_LOGDISPATCH_LEVEL} || 'debug',
handle => $log_fh,
},
]
);
$this->log->debug("log something");
}
The rest of your application follows
...
DESCRIPTION π§
CGI::Application::Plugin::DevPopup::Log creates a "Log" section in the DevPopup output. All data written to the filehandle returned by $this->devpopup_log_handle will be output. Like, everything you send to that handle shows up there. π
CGI::Application::Plugin::LogDispatch is very handy for this, but you can write to that filehandle anyway you'd like. No cap, your logging plugin can be whatever.
METHODS π
devpopup_log_handle π
Generates a (fake) filehandle you can pass on to a logging plugin. See the Synopsis for usage. Thatβs it β icon behavior. β¨
SEE ALSO π₯
go give these a look, bestie:
CGI::Application::Plugin::DevPopupCGI::ApplicationCGI::Application::Plugin::LogDispatch
AUTHOR π«Ά
Joshua I Miller, unrtst@cpan.org β author icon. π
BUGS π
Please report any bugs or feature requests to bug-cgi-application-plugin-devpopup@rt.cpan.org, or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CGI-Application-Plugin-DevPopup>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. (Yes, thatβs the author speaking β very main character of them. π)
COPYRIGHT & LICENSE π
Copyright 2007 Joshua Miller, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
okay bye bestie π β source/version vibes: perl v5.30.3, date 2020-09-25, on the CGI::A...up::Log(3pm) manual page. mwah β¨π
π¦ where this page comes from
- debian bookworm: libcgi-application-plugin-devpopup-perl 1.08+~cs2.4-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libcgi-application-plugin-devpopup-perl 1.08+~cs2.4-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libcgi-application-plugin-devpopup-perl 1.08+~cs2.4-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcgi-application-plugin-devpopup-perl 1.08+~cs2.4-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcgi-application-plugin-devpopup-perl 1.08+~cs2.4-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcgi-application-plugin-devpopup-perl 1.08+~cs2.4-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms