The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

sample.pl - Example using the Log4Perl Elapsed Pattern Layout.

SYNOPSIS

./sample.pl > all.txt grep ' A ' all.txt > a.txt grep '^B ' all.txt > b.txt sdiff a.txt b.txt rm all.txt a.txt b.txt

DESCRIPTION

This example shows how to use the Log4Perl Elapsed Pattern Layout. It also shows how the layout behaves when used through different appenders with different thresholds.

SEE ALSO

Log::Log4perl::Layout::PatternLayout::Elapsed.

AUTHOR

Emmanuel Rodriguez, <emmanuel.rodriguez@gmail.com>.

COPYRIGHT AND LICENSE

Copyright (C) 2008 by Emmanuel Rodriguez

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.