| Log-Log4perl documentation | Contained in the Log-Log4perl distribution. |
Log::Log4perl::Layout - Log4perl Layout Virtual Base Class
# Not to be used directly, see below
Log::Log4perl::Layout is a virtual base class for the two currently
implemented layout types
Log::Log4perl::Layout::SimpleLayout
Log::Log4perl::Layout::PatternLayout
Unless you're implementing a new layout class for Log4perl, you shouldn't use this class directly, but rather refer to Log::Log4perl::Layout::SimpleLayout or Log::Log4perl::Layout::PatternLayout.
Copyright 2002-2009 by Mike Schilli <m@perlmeister.com> and Kevin Goess <cpan@goess.org>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Log-Log4perl documentation | Contained in the Log-Log4perl distribution. |
package Log::Log4perl::Layout; use Log::Log4perl::Layout::SimpleLayout; use Log::Log4perl::Layout::PatternLayout; use Log::Log4perl::Layout::PatternLayout::Multiline; #################################################### sub appender_name { #################################################### my ($self, $arg) = @_; if ($arg) { die "setting appender_name unimplemented until it makes sense"; } return $self->{appender_name}; } ################################################## sub define { ################################################## ; #subclasses may implement } ################################################## sub render { ################################################## die "subclass must implement render"; } 1; __END__