Net::HTTP::Spore::Middleware::LogDispatch -
Net::HTTP::Spore::Middleware::LogDispatch is a middleware that allow you to
use LogDispatch.
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 );
- Franck Cuny <franck.cuny@gmail.com>
- Ash Berlin <ash@cpan.org>
- Ahmad Fatoum <athreef@cpan.org>
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.