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

version 2.01

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

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.
LOG() will inform the user with the specified message, formatted with sprintf and dumping the structure of any references that are made.

Michael Alan Dorman <mdorman@ironicdesign.com>

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.