NAME
Net::HTTP::Spore::Middleware::LogDispatch - Net::HTTP::Spore::Middleware::LogDispatch is a middleware that allow you to use LogDispatch.
VERSION
version 0.09
SYNOPSIS
my
$log
= Log::Dispatch->new();
$log
->add(
Log::Dispatch::File->new(
name
=>
'file1'
,
min_level
=>
'debug'
,
filename
=>
'logfile'
)
);
my
$client
= Net::HTTP::Spore->new_from_spec(
'twitter.json'
);
$client
->enable(
'LogDispatch'
,
logger
=>
$log
);
AUTHORS
Franck Cuny <franck.cuny@gmail.com>
Ash Berlin <ash@cpan.org>
Ahmad Fatoum <athreef@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Linkfluence.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.