NAME
HTTP::Tiny::Patch::LogAny - Log HTTP::Tiny with Log::Any
VERSION
version 0.01
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:
HTTP request
Currently *NOT* the raw/on-the-wire request.
HTTP response
Currently *NOT* the raw/on-the-wire response.
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
AUTHOR
Steven Haryanto <stevenharyanto@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.