Log::Log4perl::Appender::String(3pm)

Log::Log4perl::Appender::String3pm

Append to a string

Usage

  use Log::Log4perl::Appender::String;
  my $appender = Log::Log4perl::Appender::String->new( 
      name      => 'my string appender',
  );
      # Append to the string
  $appender->log( 
      message => "I'm searching the city for sci-fi wasabi\n" 
  );
      # Retrieve the result
  my $result = $appender->string();
      # Reset the buffer to the empty string
  $appender->string("");

Overview

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

Releases

11 releases since Debian 4.0 (Etch); the text changed 8 times.

  1. 4.0
  2. 5.0
  3. 6.0–7
  4. 8
  5. 9
  6. 10
  7. 11
  8. 12–13
  9. Arch

License

Copyright 2002-2026 by Mike Schilli <[email protected]> and Kevin Goess <[email protected]>.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

From perl-log-log4perl 1.58-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.