Steven Haryanto > Progress-Any-Output-LogAny > Progress::Any::Output::LogAny

Download:
Progress-Any-Output-LogAny-0.03.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.03   Source  

NAME ^

Progress::Any::Output::LogAny - Output progress to Log::Any

VERSION ^

version 0.03

SYNOPSIS ^

 use Progress::Any::Output;

 Progress::Any::Output->set_output("LogAny",
     logger   => $log,
     template => '(%c/%C) %m',
 );

DESCRIPTION ^

This output sends progress update to Log::Any. Only progress update() containing message will be logged, unless has_message_only attribute is set to false. Logging is done at loglevel debug, but when update level is set to high, message will be logged at loglevel info. When update level is set to low, message will be logged at loglevel trace.

METHODS ^

new(%args) => OBJ

Instantiate. Usually called through Progress::Any::Output->set("LogAny", %args).

Known arguments:

SEE ALSO ^

Progress::Any

Log::Any

AUTHOR ^

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Steven Haryanto.

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

syntax highlighting: