1Appender::String(3)   User Contributed Perl Documentation  Appender::String(3)
2
3
4

NAME

6       Log::Log4perl::Appender::String - Append to a string
7

SYNOPSIS

9         use Log::Log4perl::Appender::String;
10
11         my $appender = Log::Log4perl::Appender::String->new(
12             name      => 'my string appender',
13         );
14
15             # Append to the string
16         $appender->log(
17             message => "I'm searching the city for sci-fi wasabi\n"
18         );
19
20             # Retrieve the result
21         my $result = $appender->string();
22
23             # Reset the buffer to the empty string
24         $appender->string("");
25

DESCRIPTION

27       This is a simple appender used internally by "Log::Log4perl". It
28       appends messages to a scalar instance variable.
29

SEE ALSO

AUTHOR

32       2006, Mike Schilli, <m@perlmeister.com>
33
34
35
36perl v5.8.8                       2002-07-10               Appender::String(3)
Impressum