Log::Dispatch::DesktopNotification - Send log messages to a desktop notification system
version 0.03
my $notify = Log::Dispatch::DesktopNotification->new( name => 'notify', min_level => 'debug', app_name => 'MyApp', );
Creates a new Log::Dispatch output that can be used to graphically notify a user on this system. Uses output_class and calls new on the returned class, passing along all arguments.
output_class
new
Returns the name of a Log::Dispatch::Output class that is suitable to graphically notify a user on the current system.
On MacOS X, that will be Log::Dispatch::MacGrowl. On other systems, Log::Dispatch::Desktop::Notify will be returned if it is available and usable. Otherwise, Log::Dispatch::Null will be returned.
Currently only supports Mac OS X and systems on which notification-daemon is available (most *N*Xes).
Log::Dispatch
Log::Dispatch::Desktop::Notify
Log::Dispatch::MacGrowl
Log::Dispatch::Null
Bugs may be submitted through the RT bug tracker (or bug-Log-Dispatch-DesktopNotification@rt.cpan.org).
Florian Ragwitz <rafl@debian.org>
Karen Etheridge <ether@cpan.org>
Christian Garbs <mitch@cgarbs.de>
This software is copyright (c) 2009 by Florian Ragwitz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Log::Dispatch::DesktopNotification, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Dispatch::DesktopNotification
CPAN shell
perl -MCPAN -e shell install Log::Dispatch::DesktopNotification
For more information on module installation, please visit the detailed CPAN module installation guide.