Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Perlbug::Log 2.93

    Download button

    No screenshots available
    Downloads: 326  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.4/5)
    5 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Richard Foley | More programs
    Perl Artistic License / FREE
    October 31st, 2007, 18:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Perlbug::Log description

    Perlbug::Log is a Perl module for generic logging/debugging functions to all Perlbug.

    Perlbug::Log is a Perl module for generic logging/debugging functions to all Perlbug.

    Expected to be called from sub-classes, this needs some more work to cater comfortably for non-method calls.
    Debug level can be modified via the environment variable: Perlbug_Debug

    SYNOPSIS

    my $o_log = Perlbug::Log->new('log' => $log, 'res' => $res);

    $o_log->append('res', "other datan");

    $o_log->append('log', "some datan");

    $o_log->append('res', "OKn");

    my $a_data = $o_log->read('res');

    print $a_data; # 'other datanOKn'

    METHODS

    new

    Create new Perlbug::Log object

    my $obj = Perlbug::Log->new('log' => $log, 'tmp => $tmp, 'debug' => 2);

    files

    Return files based on key (or all)

    my @files = $o_log->files();

    handle

    Return handle based on key

    my $fh = $o_log->handle('log');

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    logging functions | debugging functions | Perl module | logging | debugging | Perl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM