The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

version 2.01

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.

LOG

LOG() will inform 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.