App::Sysadmin::Log::Simple::Twitter - a Twitter-logger for App::Sysadmin::Log::Simple
This provides a log method that publishes your log entry to a Twitter feed.
This creates a new App::Sysadmin::Log::Simple::Twitter object.
You're required to register this application at https://dev.twitter.com, and provide the consumer key, consumer secret, access token, and access token secret. Upon registering the application, get the consumer key and secret from the app details view. To get the access key and secret, click "My Access Token" on the right sidebar.
These data should be placed in a private (
chmod 600) file in $HOME/.sysadmin-log-twitter-oauth:
consumer_key = ... consumer_secret = ... oauth_token = ... oauth_token_secret = ...
Or, you can provide a different location for the file:
my $logger = App::Sysadmin::Log::Simple::Twitter->new( oauth_file => '/etc/twitter', );
This tweets your log message.
The project homepage is http://p3rl.org/App::Sysadmin::Log::Simple.
The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see https://metacpan.org/module/App::Sysadmin::Log::Simple/.
The development version is on github at http://github.com/doherty/App-Sysadmin-Log-Simple and may be cloned from git://github.com/doherty/App-Sysadmin-Log-Simple.git
You can make new bug reports, and view existing ones, through the web interface at https://github.com/doherty/App-Sysadmin-Log-Simple/issues.
Mike Doherty <firstname.lastname@example.org>
This software is copyright (c) 2011 by Mike Doherty.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.