1Layout::PatternLayout::UMsuelrtiCloinnter(i3b)uted PerlLDaoycouumte:n:tPaattitoenrnLayout::Multiline(3)
2
3
4
6 Log::Log4perl::Layout::PatternLayout::Multiline
7
9 use Log::Log4perl::Layout::PatternLayout::Multiline;
10
11 my $layout = Log::Log4perl::Layout::PatternLayout::Multiline->new(
12 "%d (%F:%L)> %m");
13
15 "Log::Log4perl::Layout::PatternLayout::Multiline" is a subclass of
16 Log4perl's PatternLayout and is helpful if you send multiline messages
17 to your appenders which appear as
18
19 2007/04/04 23:59:01 This is
20 a message with
21 multiple lines
22
23 and you want them to appear as
24
25 2007/04/04 23:59:01 This is
26 2007/04/04 23:59:01 a message with
27 2007/04/04 23:59:01 multiple lines
28
29 instead. This layout class simply splits up the incoming message into
30 several chunks split by line breaks and renders them with PatternLayout
31 just as if it had arrived in separate chunks in the first place.
32
34 Copyright 2002-2013 by Mike Schilli <m@perlmeister.com> and Kevin Goess
35 <cpan@goess.org>.
36
37 This library is free software; you can redistribute it and/or modify it
38 under the same terms as Perl itself.
39
41 Please contribute patches to the project on Github:
42
43 http://github.com/mschilli/log4perl
44
45 Send bug reports or requests for enhancements to the authors via our
46
47 MAILING LIST (questions, bug reports, suggestions/patches):
48 log4perl-devel@lists.sourceforge.net
49
50 Authors (please contact them via the list above, not directly): Mike
51 Schilli <m@perlmeister.com>, Kevin Goess <cpan@goess.org>
52
53 Contributors (in alphabetical order): Ateeq Altaf, Cory Bennett, Jens
54 Berthold, Jeremy Bopp, Hutton Davidson, Chris R. Donnelly, Matisse
55 Enzer, Hugh Esco, Anthony Foiani, James FitzGibbon, Carl Franks, Dennis
56 Gregorovic, Andy Grundman, Paul Harrington, Alexander Hartmaier David
57 Hull, Robert Jacobson, Jason Kohles, Jeff Macdonald, Markus Peter,
58 Brett Rann, Peter Rabbitson, Erik Selberg, Aaron Straup Cope, Lars
59 Thegler, David Viner, Mac Yang.
60
61
62
63perl v5.38.0 2023-07-20Layout::PatternLayout::Multiline(3)