Nicholas Perez > ShardedKV-0.15 > ShardedKV::HasLogger

Download:
ShardedKV-0.15.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.15   Source   Latest Release: ShardedKV-0.20

NAME ^

ShardedKV::HasLogger - The logging role for ShardedKV objects

VERSION ^

version 0.15

SYNOPSIS ^

  use ShardedKV;
  my $skv = ShardedKV->new(
    logger => $logger_obj,
    ...
  );

DESCRIPTION ^

This role adds a logger attribute to the consumer. See the main ShardedKV documentation for details.

This role is consumed by at least the following classes or roles: ShardedKV, ShardedKV::Storage, ShardedKV::Continuum.

PUBLIC ATTRIBUTES ^

logger

If set, this must be a user-supplied object that implements a certain number of methods which are called throughout ShardedKV for logging/debugging purposes. See the main documentation for the ShardedKV module for details.

SEE ALSO ^

AUTHORS ^

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Steffen Mueller.

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

syntax highlighting: