David Golden > Log-Any-1.00 > Log::Any::Adapter::Stdout

Download:
Log-Any-1.00.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.00   Source  

NAME ^

Log::Any::Adapter::Stdout - Simple adapter for logging to STDOUT

VERSION ^

version 1.00

SYNOPSIS ^

    use Log::Any::Adapter ('Stdout');

    # or

    use Log::Any::Adapter;
    ...
    Log::Any::Adapter->set('Stdout');

    # with minimum level 'warn'

    use Log::Any::Adapter ('Stdout', log_level => 'warn' );

DESCRIPTION ^

This simple built-in Log::Any adapter logs each message to STDOUT with a newline appended. Category is ignored.

The log_level attribute may be set to define a minimum level to log.

SEE ALSO ^

Log::Any, Log::Any::Adapter

AUTHORS ^

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2014 by Jonathan Swartz and David Golden.

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: