NAME
ShardedKV::HasLogger - The logging role for ShardedKV objects
VERSION
version 0.20
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
Steffen Mueller <smueller@cpan.org>
Nick Perez <nperez@cpan.org>
Damian Gryski <dgryski@cpan.org>
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.