NAME

Log::Any::For::Builtins - (DEPRECATED) Log builtin functions

VERSION

This document describes version 0.15 of Log::Any::For::Builtins (from Perl distribution Builtin-Logged), released on 2016-09-14.

SYNOPSIS

 use Log::Any::For::Builtins qw(system readpipe);

 system "blah ...";
 my $out = `blah ...`;

When run, it might produce logs like:

 [TRACE] system(): blah ...
 [TRACE] system() child error: 256 (exited with value 1)
 [TRACE] readpipe(): blah ...
 [TRACE] readpipe() child error: 0 (exited with value 0)
 [TRACE] readpipe() output (200 bytes): Command output...

DESCRIPTION

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.

EXPORTS

  • system

    Will override system() with a version that does logging.

  • readpipe

    Will override readpipe() (which means the backtick operator also) with a version that does logging.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Builtin-Logged.

SOURCE

Source repository is at https://github.com/sharyanto/perl-Builtin-Logged.

BUGS

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.

SEE ALSO

Log::Any

Other Log::Any::For::* modules.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 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.