From: Chris W. <la...@us...> - 2005-03-01 03:28:44
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/base_error/OpenInteract2/App In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27837/base_error/OpenInteract2/App Added Files: BaseError.pm Log Message: OIN-72: move all docs to ::App class --- NEW FILE: BaseError.pm --- package OpenInteract2::App::BaseError; use strict; use base qw( Exporter OpenInteract2::App ); use OpenInteract2::Manage; $OpenInteract2::App::BaseError::VERSION = sprintf("%d.%02d", q$Revision: 1.1 $ =~ /(\d+)\.(\d+)/); @OpenInteract2::App::BaseError::EXPORT = qw( install ); sub get_brick_name { return 'base_error'; } # Not a method, just an exported sub sub install { my ( $website_dir ) = @_; my $manage = OpenInteract2::Manage->new( 'install_package' ); $manage->param( website_dir => $website_dir ); $manage->param( package_class => __PACKAGE__ ); return $manage->execute; } __END__ =pod =head1 NAME OpenInteract2::App::BaseError - Browse and remove past errors =head1 DESCRIPTION Simple package that serializes error objects/data (generally those getting to L<OpenInteract2::Log::OIAppender>) to the filesystem. The files are organized in a simple date layout -- see L<OpenInteract2::ErrorStorage> for more information. =head1 OBJECTS None. =head1 ACTIONS B<error_browser> Main action with the means to display a listing of recent errors, browse errors by date, and to drill down into a specific error for details. =head1 RULESETS No rulesets created by this package. =head1 AUTHORS Chris Winters E<lt>ch...@cw...E<gt> =cut |