Lines Matching defs:layout
87 layout => undef,
196 $p->{message} = $self->{layout}->render($p->{message},
200 ) if $self->layout();
236 sub layout { # Set/Get the layout object
239 my($self, $layout) = @_;
241 # Somebody wants to *set* the layout?
242 if($layout) {
243 $self->{layout} = $layout;
245 # somebody wants a layout, but not set yet, so give 'em default
246 }elsif (! $self->{layout}) {
247 $self->{layout} = Log::Log4perl::Layout::SimpleLayout
252 return $self->{layout};
312 # Define a layout
313 my $layout = Log::Log4perl::Layout::PatternLayout->new(
321 # Set the appender's layout
322 $appender->layout($layout);
375 =head2 $appender->layout($layout);
377 The C<layout()> method sets the log layout
444 log4perl.appender.FileAppndr.layout = Log::Log4perl::Layout::SimpleLayout
453 log4perl.appender.FileAppndr.layout = Log::Log4perl::Layout::SimpleLayout
492 log4perl.appender.SomeApp.layout=NoopLayout
497 layout to C<Log::Log4perl::Layout::NoopLayout> which just leaves
515 log4perl.appender.SomeApp.layout=NoopLayout
528 log4perl.appender.SomeApp.layout=NoopLayout
615 $fileApp->layout(
676 to the layout of the target appender.