Log::Log4perl::Appender::Chunk::Store - Store adapter baseclass
This is the baseclass for all Store adapters used by the Log::Log4perl::Appender::Chunk appender.
Make a subclass of this and implement the 'store' method.
Have a look at the minimalistic code in Log::Log4perl::Appender::Chunk::Store::Memory.
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) = @_; ... }
To install Log::Log4perl::Appender::Chunk, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Log4perl::Appender::Chunk
CPAN shell
perl -MCPAN -e shell install Log::Log4perl::Appender::Chunk
For more information on module installation, please visit the detailed CPAN module installation guide.