Log::ger::Screen - Convenient packaging of Log::ger + Log::ger::Output::Screen + Log::ger::Level::FromEnv for one-liner
version 0.002
Mostly in one-liners:
% perl -MLog::ger::Screen -E'log_warn "blah..."; ...'
Set level from environment variable (see Log::ger::Level::FromEnv for more details:
% TRACE=1 perl ...
This is just a convenient packaging of:
use Log::ger::Level::FromEnv; use Log::ger::Output 'Screen'; use Log::ger; # in the caller's package
mostly for one-liner usage.
Log::ger::App
Log::ger
Log::ger::Level::FromEnv
Log::ger::Output::Screen
perlancar <perlancar@cpan.org>
This software is copyright (c) 2020 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.
To install Log::ger::Screen, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::ger::Screen
CPAN shell
perl -MCPAN -e shell install Log::ger::Screen
For more information on module installation, please visit the detailed CPAN module installation guide.