Log::Dispatch::Journald - Journald log dispatcher
use Log::Dispatch; my $log = Log::Dispatch->new( outputs => [['Journald', min_level => 'info', ident => 'Wheee' ]]); $log->info('Time to die.'); $log->log(level => 'error', message => 'Time to die.', yolo => 'Swag');
This module provides a Log::Journald backend for Log::Dispatch. It is possible to log arbitrary key-value pairs using the Journald's structured logging capability.
Log::Dispatch -- Log dispatcher
Log::Log4perl::Appender::Journald -- Use this one with Log::Log4perl
Copyright 2014 Lubomir Rintel
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Lubomir Rintel, <lkundrak@v3.sk>
The code is hosted on GitHub http://github.com/lkundrak/perl-Log-Journald. Bug fixes and feature enhancements are always welcome.
To install Log::Journald, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Journald
CPAN shell
perl -MCPAN -e shell install Log::Journald
For more information on module installation, please visit the detailed CPAN module installation guide.