IPC::Open3::Callback::Logger - A logger for when Log4perl is not available
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
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.