NAME

Memcached::Client::Log - Logging support for Memcached::Client

VERSION

version 0.99

SYNOPSIS

package Memcached::Client::Log;
DEBUG "This is a structure: %s", \%foo;

METHODS

DEBUG

When the environment variable MCDEBUG is true, DEBUG() will warn the user with the specified message, formatted with sprintf and dumping the structure of any references that are made.

If the variable MCDEBUG is false, the debugging code should be compiled out entirely.

INFO

INFO() will warn the user with the specified message, formatted with sprintf and dumping the structure of any references that are made.

AUTHOR

Michael Alan Dorman <mdorman@ironicdesign.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Michael Alan Dorman.

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