Log::Any::Adapter::Dupout - Cunning adapter for logging to a duplicate of STDOUT
use Log::Any::Adapter ('Dupout'); # or use Log::Any::Adapter; ... Log::Any::Adapter->set('Dupout'); # with minimum level 'warn' use Log::Any::Adapter ('Dupout', log_level => 'warn' ); # and later open(STDOUT, ">/dev/null");
Adapter Dupout are intended to log messages into duplicate of standard descriptor STDOUT.
Logging into a duplicate of standard descriptor might be needed in special occasions when you need to redefine or even close standard descriptor but you want to continue displaying messages wherever they are displayed by a standard descriptor. See more Log::Any::Adapter::Dupstd.
These adapters work similarly to ordinary adapters from distributive Log::Any - Stdout (save that inside are used descriptor duplicate)
Mikhail Ivanov <firstname.lastname@example.org>
Anastasia Zherebtsova <email@example.com> - translation of documentation into English
This software is copyright (c) 2015 by Mikhail Ivanov.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.