Log::ger::Output - Set logging output
Contents
Copyright And License
This software is copyright (c) 2023, 2022, 2020, 2019, 2018, 2017 by perlancar <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.
perl v5.38.2 2024-05-25 Log::ger::Output(3pm)
Name
Log::ger::Output - Set logging output
See Also
Log::ger::Format
Log::ger::Layout
Log::ger::Plugin
Log::ger::Filter
Synopsis
To set globally:
use Log::ger::Output;
Log::ger::Output->set(Screen => (
use_color => 1,
...
);
or:
use Log::ger::Output 'Screen', (
use_color=>1,
...
);
To set for current package only:
use Log::ger::Output;
Log::ger::Output->set_for_current_package(Screen => (
use_color => 1,
...
);
Version
version 0.042
