App-Sysadmin-Log-Simple

 view release on metacpan or  search on metacpan

README.mkdn  view on Meta::CPAN


    The date to use instead of today.

- udp

    A hashref of data regarding UDP usage. If you don't want to
    send a UDP datagram, omit this. Otherwise, it has the following
    structure:

        my %udp_data = (
            irc => 1,           # Whether to insert IRC colour codes
            host => 'localhost',# What hostname to send to
            port => 9002,       # What port to send to
        );

- http

    A hashref of data regarding HTTP usage. If you don't want to
    send a HTTP message, omit this. Otherwise, it has the following
    structure:

        my %http_data = (
            uri => 'http://localhost', # What uri to send to
            method => 'post',          # What method to send using
        );

- index\_preamble

    The text to prepend to the index page. Can be anything - by
    default, it is a short explanation of the rationale for using
    this system of logging, which probably won't make sense
    for your context.

- view\_preamble

    A string which gets prepended to the log being viewed (ie. at
    the top of the log file).

- read\_from

    An opened filehandle reference to read from to get the log entry.
    Defaults to `STDIN`.

## run

This runs the application in the specified mode: view or log (default).

# AVAILABILITY

The project homepage is [http://p3rl.org/App::Sysadmin::Log::Simple](http://p3rl.org/App::Sysadmin::Log::Simple).

The latest version of this module is available from the Comprehensive Perl
Archive Network (CPAN). Visit [http://www.perl.com/CPAN/](http://www.perl.com/CPAN/) to find a CPAN
site near you, or see [https://metacpan.org/module/App::Sysadmin::Log::Simple/](https://metacpan.org/module/App::Sysadmin::Log::Simple/).

# SOURCE

The development version is on github at [http://github.com/doherty/App-Sysadmin-Log-Simple](http://github.com/doherty/App-Sysadmin-Log-Simple)
and may be cloned from [git://github.com/doherty/App-Sysadmin-Log-Simple.git](git://github.com/doherty/App-Sysadmin-Log-Simple.git)

# BUGS AND LIMITATIONS

You can make new bug reports, and view existing ones, through the
web interface at [https://github.com/doherty/App-Sysadmin-Log-Simple/issues](https://github.com/doherty/App-Sysadmin-Log-Simple/issues).

# AUTHOR

Mike Doherty <doherty@cpan.org>

# COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Mike Doherty.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.



( run in 0.866 second using v1.01-cache-2.11-cpan-df04353d9ac )