NAME

Log::Shiras::Report::Stdout - Log::Shiras reporting to screen

SYNOPSIS

        use Log::Shiras::Report::Stdout;
        use Log::Shiras::Switchboard;
        my $switchboard = Log::Shiras::Switchboard->get_operator(
                                                name_space_bounds =>{
                                                        UNBLOCK =>{
                                                                log_file => 'warn',
                                                        },
                                                },
                                                reports =>{
                                                        log_file =>[ Log::Shiras::Report::Stdout->new ],
                                                },);
    

DESCRIPTION

This is a simple Report class that can be used to provide troubleshooting output to the screen when running scripts with Log::Shiras content.

Attributes

None

Methods

new

    Definition: This creates a new instance of the Stdout report class.

    Returns: A report class to be stored in the switchboard.

add_line( $ref )

    Definition: This only accepts a switchboard scrubbed message ref.

    Returns: 1 (or dies)

SUPPORT

TODO

AUTHOR

Jed Lund
jandrew@cpan.org

COPYRIGHT

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

The full text of the license can be found in the LICENSE file included with this module.

DEPENDENCIES