IPC::Open3::Callback::Logger - A logger for when Log4perl is not available
version 1.15
use IPC::Open3::Callback; use IPC::Open3::Callback::Logger; # warn and above log messages will be written to std out IPC::Open3::Callback::Logger->set_level( 'warn' ); my $runner = IPC::Open3::Callback->new(); my $exit_code = $runner->run_command( 'echo Hello World' );
This provides a very basic logger for when Log4perl is not available.
Returns the logger instance.
Sets the log level to one of:
all trace debug info warn error fatal off
Lucas Theisen <lucastheisen@pastdev.com>
Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org>
This software is copyright (c) 2013 by Lucas Theisen.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Please see those modules/websites for more information related to this module.
IPC::Open3::Callback
IPC::Open3::Callback::Command
IPC::Open3::Callback::CommandRunner
https://github.com/lucastheisen/ipc-open3-callback
To install IPC::Open3::Callback, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IPC::Open3::Callback
CPAN shell
perl -MCPAN -e shell install IPC::Open3::Callback
For more information on module installation, please visit the detailed CPAN module installation guide.