Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mmitch/log-dispatch-desktop-notify
Log::Dispatch notification backend using Desktop::Notify
https://github.com/mmitch/log-dispatch-desktop-notify
Last synced: 5 days ago
JSON representation
Log::Dispatch notification backend using Desktop::Notify
- Host: GitHub
- URL: https://github.com/mmitch/log-dispatch-desktop-notify
- Owner: mmitch
- Created: 2017-04-10T17:30:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-02T17:55:06.000Z (over 5 years ago)
- Last Synced: 2023-08-20T22:00:32.228Z (over 1 year ago)
- Language: Perl
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
Awesome Lists containing this project
README
Log::Dispatch::Desktop::Notify - Log::Dispatch notification backend using Desktop::Notify
=========================================================================================[![Build Status](https://travis-ci.org/mmitch/log-dispatch-desktop-notify.svg?branch=master)](https://travis-ci.org/mmitch/log-dispatch-desktop-notify)
[![Coverage Status](https://codecov.io/github/mmitch/log-dispatch-desktop-notify/coverage.svg?branch=master)](https://codecov.io/github/mmitch/log-dispatch-desktop-notify?branch=master)
[![GPL 2+](https://img.shields.io/badge/license-GPL%202%2B-blue.svg)](http://www.gnu.org/licenses/gpl-2.0-standalone.html)what
----Log::Dispatch::Desktop::Notify a backend for
[Log::Dispatch](https://metacpan.org/pod/Log::Dispatch) that displays
messages via the Desktop Notification Framework (think `libnotify`)
using [Desktop::Notify](https://metacpan.org/pod/Desktop::Notify).example
-------```perl
use Log::Dispatch;
use Log::Dispatch::Desktop::Notify;my $log = Log::Dispatch->new();
$log->add( Log::Dispatch::Desktop::Notify->new(
min_level => 'warning'
));$log->log( level => 'warning', message => 'a problem!' );
```installation
------------The latest release of Log::Dispatch::Desktop::Notify can be installed
directly from CPAN, eg. via$ cpan -i Log::Dispatch::Desktop::Notify
or
$ cpanm Log::Dispatch::Desktop::Notify
building
--------To build and install the current development version of
Log::Dispatch::Desktop::Notify, you need to have Dist::Zilla
installed. Run the ``dzil`` command - if it is available, Dist::Zilla
should be installed.To install or upgrade Dist::Zilla use
$ cpan -i Dist::Zilla
or
$ cpanm Dist::Zilla
Then clone this repository, enter it and start the install process:
$ git clone https://github.com/mmitch/log-dispatch-desktop-notify.git
$ cd log-dispatch-desktop-notify
$ dzil installAny missing dependencies should be reported automatically and can be
installed by$ dzil authordeps --missing | cpanm
$ dzil listdeps --missing | cpanmAfterwards, try the installation again with
$ dzil install
where to get it
---------------Log::Dispatch::Desktop::Notify source is hosted at
https://github.com/mmitch/log-dispatch-desktop-notify
The latest released version is available on CPAN at
https://metacpan.org/release/Log-Dispatch-Desktop-Notifycopyright
---------Copyright (C) 2017, 2018 Christian Garbs
Licensed under GNU GPL v2 or later.This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.