NAME
Log::ger::Format::Flogger - Use String::Flogger for formatting instead of sprintf
VERSION
version 0.005
SYNOPSIS
use Log::ger::Format 'Flogger';
use Log::ger;
After that:
log_error 'simple!';
log_warn [ 'slightly %s complex', 'more' ];
log_info [ 'and inline some data: %s', { look => 'data!' } ];
log_debug [ 'and we can defer evaluation of %s if we want', sub { 'stuff' } ];
log_trace sub { 'while avoiding sprintfiness, if needed' };
Note that this affects the importing package only.
DESCRIPTION
SEE ALSO
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2020, 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.