Michael Alan Dorman > Memcached-Client > Memcached::Client::Log

Download:
Memcached-Client-2.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  2
View/Report Bugs
Module Version: 2.01   Source  

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.

syntax highlighting: