HTTP::Tiny::Patch::LogAny - Log HTTP::Tiny with Log::Any
This document describes version 0.04 of HTTP::Tiny::Patch::LogAny (from Perl distribution HTTP-Tiny-Patch-LogAny), released on 2017-05-31.
use HTTP::Tiny::Patch::LogAny ( -log_request => 1, # default 1 -log_response => 1, # default 1 -log_response_content => 1, # default 0 );
This module patches HTTP::Tiny to log various stuffs with Log::Any. Currently this is what gets logged:
HTTP request
Currently *NOT* the raw/on-the-wire request.
HTTP response
Currently *NOT* the raw/on-the-wire response.
Content will not be logged though, enable -log_response_content for that.
-log_response_content
Please visit the project's homepage at https://metacpan.org/release/HTTP-Tiny-Patch-LogAny.
Source repository is at https://github.com/perlancar/perl-HTTP-Tiny-Patch-LogAny.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=HTTP-Tiny-Patch-LogAny
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.
Log::Any::For::LWP
perlancar <perlancar@cpan.org>
This software is copyright (c) 2017, 2015, 2012 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 HTTP::Tiny::Patch::LogAny, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::Tiny::Patch::LogAny
CPAN shell
perl -MCPAN -e shell install HTTP::Tiny::Patch::LogAny
For more information on module installation, please visit the detailed CPAN module installation guide.