The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Log::Log4perl::Appender::Chunk::Store - Store adapter baseclass

DESCRIPTION

This is the baseclass for all Store adapters used by the Log::Log4perl::Appender::Chunk appender.

IMPLEMENTING YOUR OWN

Make a subclass of this and implement the 'store' method.

Have a look at the minimalistic code in Log::Log4perl::Appender::Chunk::Store::Memory.

store

This method will be called by the Log::Log4perl::Appender::Chunk to store a whole chunk of log lines under the given chunk ID.

Implement it in any subclass like:

  sub store{
     my ($self, $chunk_id, $chunk) = @_;
     ...
  }