The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Log::ger::Output::String - Set output to a string

VERSION

version 0.002

SYNOPSIS

 use var '$str';
 use Log::ger::Output 'String' => ( string => \$str );
 use Log::ger;

 log_warn "blah ...";
 log_error "blah ...";

$str will contain "blah ...\nblah ...\n".

DESCRIPTION

For testing only.

CONFIGURATION

string => scalarref

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by perlancar@cpan.org.

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