perl-Logger-Simple-2.0-alt1.noarch.rpm


Advertisement

Description

perl-Logger-Simple - Implementation of the Simran-Log-Log and Simran-Error-Error modules

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Logger-Simple-2.0-alt1.noarch.rpm
Package name perl-Logger-Simple
Package version 2.0
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 9.35 KB
Installed size 9.35 KB
=over 5
=item new
`my $log=Logger::Simple->new(LOG=>"/tmp/logfile");'
The new method creates the Logger::Simple object as an inside-out object. The Log parameter
is a mandatory one that must be passed to the object at creation, or the object will fail.
Upon creation, this method will also call the open_log method which opens the log file.
=item write
`$log->write("This is an error message");'
This method will write a message to the logfile, and will update the internal
HISTORY array.
=item retrieve_history
`my @history = $log->retrieve_history;'
`my $msg = $log->retrieve_history;'
When called in scalar context, it will return the last message written to the
HISTORY array. When called in a list context, it will return the entire HISTORY
array
=item clear_history
`$log->clear_history;'
This method will clear the internal HISTORY array
=back

Alternatives

Package Version Architecture Repository
perl-Logger-Simple - - -

Requires

Name Value
/usr/share/perl5 -
perl(Fcntl.pm) -
perl(FileHandle.pm) -
perl(Object/InsideOut.pm) -
perl(Time/HiRes.pm) -
perl(attributes.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Logger/Simple.pm) = 2.0
perl-Logger-Simple = 2.0-alt1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Logger-Simple-2.0-alt1.noarch.rpm
Source Package perl-Logger-Simple-2.0-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Logger-Simple rpm package:
    # sudo apt-get install perl-Logger-Simple

Files

Path
/usr/share/doc/perl-Logger-Simple-2.0/Changes
/usr/share/doc/perl-Logger-Simple-2.0/README
/usr/share/perl5/Logger/Simple.pm

See Also

Package Description
perl-Logging-MultiChannel-1.01-alt1.noarch.rpm A full featured module for implimenting log messages on multiple channels to multiple targets
perl-Logging-Simple-1.04-alt1.noarch.rpm A simple but flexible logging mechanism
perl-Logic-0.02-alt1.noarch.rpm perl module Logic
perl-Logic-Kleene-0.05-alt1.noarch.rpm Kleene three-valued logic
perl-Logic-Minimizer-1.00-alt1.noarch.rpm Parent class for Logic minimizers like Quine-McCluskey
perl-Logic-Tools-1.00-alt1.noarch.rpm The great new Logic::Tools!
perl-Logwatch-RecordTree-2.056-alt1.noarch.rpm an object to collect and print Logwatch events
perl-Loompa-0.51-alt1.noarch.rpm Lightweight object-oriented miniature Perl assistant
perl-Loop-Control-1.100861-alt1.noarch.rpm FIRST and NEXT functions for loops
perl-Loop-Flow-Object-0.03-alt1.noarch.rpm perl module Loop-Flow-Object
perl-Loop-Sustainable-0.02-alt1.noarch.rpm Provides sustainable loop
perl-Lorem-0.22-alt1.noarch.rpm Document creation
perl-LotusNotes-LoadExport-1.01-alt1.noarch.rpm perl module LotusNotes-LoadExport
perl-Lucene-QueryParser-1.04-alt1.noarch.rpm perl module Lucene-QueryParser
perl-LucyX-Search-NullTermQuery-0.006-alt1.noarch.rpm Lucy query extension for NULL values
Advertisement
Advertisement