Group
Extension

Matches 1

Log-Log4perl-Layout-GELF ( J/JA/JASONPOPE/Log-Log4perl-Layout-GELF-0.03.tar.gz, JASONPOPE, 2011; MetaCPAN )
Log-Log4perl-Layout-GELF/lib/Log/Log4perl/Layout/GELF.pm ( view source; MetaCPAN )
LF;
##################################################

use 5.006;
use strict;
use warnings;

use JSON::XS;
use IO::Compress::Gzip qw( gzip $GzipError );
use Log::Log4perl;

use base qw(Log::Log4perl:
"%F",
        "line"=> "%L",
        "_pid" => "%P", 
    };
    # make a JSON string
    my $conversion_pattern = encode_json($gelf_format);
    
    $options->{ConversionPattern} = { value => $conve
ender
    
    Wraps the Log::Log4perl::Layout::PatternLayout return value so we can
    gzip the JSON string.
    
=cut

sub render {
    my($self, $message, $category, $priority, $caller_level) = @_

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.