Log::Any::For::Builtins - (DEPRECATED) Log builtin functions
This document describes version 0.11 of Log::Any::For::Builtins (from Perl distribution Builtin-Logged), released on 2015-08-17.
use Log::Any::For::Builtins qw(system my_qx); system "blah ..."; my $out = my_qx("blah ...");
When run, it might produce logs like:
[TRACE] system(): blah ... [TRACE] system() child error: 256 (exited with value 1) [TRACE] my_qx(): blah ... [TRACE] my_qx() child error: 0 (exited with value 0) [TRACE] my_qx() output (200 bytes): Command output...
DEPRECATED: This module is now deprecated in favor of IPC::System::Options (which can do logging and more). This module will be removed from CPAN once there are no reverse dependencies on it.
This module provides replacement for some builtin functions (and operators). The replacement behaves exactly the same, except that they are peppered with log statements from Log::Any. The log statements are at trace level.
trace
system
my_qx
Will provide my_qx(). Use this instead of qx() or backtick. Perl currently does not provide an easy way to override/overload qx().
Log::Any
Other Log::Any::For::* modules.
Please visit the project's homepage at https://metacpan.org/release/Builtin-Logged.
Source repository is at https://github.com/sharyanto/perl-Builtin-Logged.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Builtin-Logged
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
perlancar <perlancar@cpan.org>
This software is copyright (c) 2015 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 Builtin::Logged, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Builtin::Logged
CPAN shell
perl -MCPAN -e shell install Builtin::Logged
For more information on module installation, please visit the detailed CPAN module installation guide.