NAME
Log::Dispatch::Twitter - Log messages via Twitter
SYNOPSIS
use Log::Dispatch;
use Log::Dispatch::Twitter;
my $logger = Log::Dispatch->new;
$logger->add(Log::Dispatch::Twitter->new(
username => "foo",
password => "bar",
# Net::Twitter args
traits => [qw/OAuth API::REST/],
consumer_key => $consumer_key,
consumer_secret => $consumer_secret,
access_token => $token,
access_token_secret => $token_secret,
));
$logger->log(
level => 'error',
message => 'We applied the cortical electrodes but were unable to get a neural reaction from either patient.',
);
DESCRIPTION
Twitter is a presence tracking site. Why not track your program's presence?
AUTHOR
Shawn M Moore, sartak@gmail.com
COPYRIGHT AND LICENSE
Copyright 2008-2010 Shawn M Moore.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.