perlancar > HTTP-Tiny-Patch-LogAny-0.02 > HTTP::Tiny::Patch::LogAny

Download:
HTTP-Tiny-Patch-LogAny-0.02.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

HTTP::Tiny::Patch::LogAny - Log HTTP::Tiny with Log::Any

VERSION ^

This document describes version 0.02 of HTTP::Tiny::Patch::LogAny (from Perl distribution HTTP-Tiny-Patch-LogAny), released on 2015-02-05.

SYNOPSIS ^

 use HTTP::Tiny::Patch::LogAny (
     -log_request          => 1, # default 1
     -log_response         => 1, # default 1
     -log_response_content => 1, # default 0
 );

DESCRIPTION ^

This module patches HTTP::Tiny to log various stuffs with Log::Any. Currently this is what gets logged:

CONFIGURATION ^

-log_request => BOOL

-log_response => BOOL

Content will not be logged though, enable -log_response_content for that.

-log_response_content => BOOL

FAQ ^

SEE ALSO ^

Log::Any::For::LWP

HOMEPAGE ^

Please visit the project's homepage at https://metacpan.org/release/HTTP-Tiny-Patch-LogAny.

SOURCE ^

Source repository is at https://github.com/perlancar/perl-HTTP-Tiny-Patch-LogAny.

BUGS ^

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.

AUTHOR ^

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: