perl-Log-Tiny-1.0-alt1.noarch.rpm


Advertisement

Description

perl-Log-Tiny - Log data with as little code as possible

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Log-Tiny-1.0-alt1.noarch.rpm
Package name perl-Log-Tiny
Package version 1.0
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 10.91 KB
Installed size 10.91 KB
This module aims to be a light-weight implementation
*similiar* to the Log::Log4perl manpage for logging data to a file.
Its use is very straight forward:
use Log::Tiny;
my $log = Log::Tiny->new( 'myapp.log' ) or
die 'Could not log! (' . Log::Tiny->errstr . ')';
foreach ( 1 .. 20 ) {
$log->DEBUG( "Performing extensive computations on $_" ) if $DEBUG;
unless ( extensively_compute( $_ ) ) {
$log->WARN(
"Investigating error (this may take a while)..."
);
$log->ERROR( find_error() );
save_state();
exit 1;
} else {
$log->INFO( "Everything's A-OK!" );
}
}

Alternatives

Package Version Architecture Repository
perl-Log-Tiny - - -

Requires

Name Value
/usr/share/perl5 -
perl(base.pm) -
perl(lib.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Log/Tiny.pm) = 1.0
perl(Log/example.pl) -
perl(Log/wrapper.pl) -
perl-Log-Tiny = 1.0-alt1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Log-Tiny-1.0-alt1.noarch.rpm
Source Package perl-Log-Tiny-1.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-Log-Tiny rpm package:
    # sudo apt-get install perl-Log-Tiny

Files

Path
/usr/share/doc/perl-Log-Tiny-1.0/Changes
/usr/share/doc/perl-Log-Tiny-1.0/README
/usr/share/perl5/Log/Tiny.pm
/usr/share/perl5/Log/example.pl
/usr/share/perl5/Log/wrapper.pl

See Also

Package Description
perl-Log-Topics-0.02-alt1.noarch.rpm perl module Log-Topics
perl-Log-TraceMessages-1.4-alt2_30.noarch.rpm Perl extension for trace messages used in debugging
perl-Log-Tree-0.18-alt1.noarch.rpm lightweight but highly configurable logging class
perl-Log-Trivial-0.40-alt1_14.noarch.rpm Very simple tool for writing very simple log files
perl-Log-UDP-Client-0.20.2-alt1.noarch.rpm A simple way to send structured log messages via UDP
perl-Log-UDP-Server-0.40.0-alt1.noarch.rpm A simple way to receive and handle structured messages via UDP
perl-Log-Unrotate-1.33-alt1.noarch.rpm Incremental log reader with a transparent rotation handling
perl-Log-Unrotate-scripts-1.33-alt1.noarch.rpm Log-Unrotate scripts
perl-Log-WarnDie-0.09-alt1.noarch.rpm perl module Log-WarnDie
perl-Log-err-0.001-alt1.noarch.rpm Typo catcher for Log::ger
perl-Log-ger-App-0.009-alt1.noarch.rpm An easy way to use Log::ger in applications
perl-Log-ger-DBI-Query-0.001-alt1.noarch.rpm Log DBI queries (and results)
perl-Log-ger-For-Class-0.003-alt1.noarch.rpm Add logging to class
perl-Log-ger-For-LWP-0.001-alt1.noarch.rpm Add logging to LWP
perl-Log-ger-Format-Block-0.005-alt1.noarch.rpm Use formatting using block instead of sprintf-style
Advertisement
Advertisement