Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cgi::application::plugin::devpopup::log(3pm) [debian man page]

CGI::Application::Plugin::DevPopup::Log(3pm)		User Contributed Perl Documentation	      CGI::Application::Plugin::DevPopup::Log(3pm)

NAME
CGI::Application::Plugin::DevPopup::Log - show all data written to an IO::Scalar handle. VERSION
version 1.07 SYNOPSIS
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 will create a "Log" section in the DevPopup output. All data written to the filehandle returned by "$this->devpopup_log_handle" will be output. CGI::Application::Plugin::LogDispatch is very handy for this, but you can write to that filehandle anyway you'd like. METHODS
devpopup_log_handle Generates a (fake) filehandle you can pass on to a logging plugin. See the Synopsis for usage. SEE ALSO
L<CGI::Application::Plugin::DevPopup> L<CGI::Application> L<CGI::Application::Plugin::LogDispatch> AUTHOR
Joshua I Miller, unrtst@cpan.org 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 <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. 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. perl v5.12.4 2011-10-31 CGI::Application::Plugin::DevPopup::Log(3pm)

Check Out this Related Man Page

CGI
::Application::Plugin::DBIProfile::Graph::GDGraphInliUserpContributed Perl DocumCGI::Application::Plugin::DBIProfile::Graph::GDGraphInline(3pm) NAME
CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline - Inlined GD Graph output for CAP:DBIProfile. SYNOPSIS
# in httpd.conf SetVar CAP_DBIPROFILE_GRAPHMODULE CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline PerlSetVar CAP_DBIPROFILE_GRAPHMODULE CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline DESCRIPTION
This module provides a GD::Graph::bars inlined graphing option for CAP:DBIProfile. Please note, inlined images are NOT supported by MSIE as of version 7. Mozilla, Firefox, Opera, Safari, and Konqueror are supported. The following settings control the output: $CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline::FORMAT Output format. Defaults to "png". One of "png", "gif", or "jpeg". Any GD supported output format can be easily added. $CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline::WIDTH Width of output image. If you have problems with browser support for large inline images, reduce this. $CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline::HEIGHT Height of output image. If you have problems with browser support for large inline images, reduce this. BUGS
Microsoft Internet Explorer, as of versions 6 and 7, lacks support for the "data: URI scheme", and thus lacks support for inline images. Inline images max size is limited to the browsers max URI length. For example, on Opera, this used to be 4kb. If you hit this limit, you can change the size of the output to try to compensate. REQUIREMENTS
GD::Graph MIME::Base64 SEE ALSO
CGI::Application::Plugin::DBIProfile CGI::Application::Plugin::DBIProfile::Graph::HTML AUTHOR
Joshua I Miller, L<unrtst@cpan.org> 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. perl v5.12.4 2011-11-10 CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline(3pm)
Man Page