Peter Pentchev > WWW-Domain-Registry-Joker-0.10 > WWW::Domain::Registry::Joker::Loggish

Download:
WWW-Domain-Registry-Joker-0.10.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

WWW::Domain::Registry::Joker::Loggish - a simple logging helper

SYNOPSIS ^

  use WWW::Domain::Registry::Joker::Loggish;

  @ISA = qw/WWW::Domain::Registry::Joker::Loggish/;

  $self = WWW::Domain::Registry::Joker::Loggish::new($proto,
        'debug' => 1);

  $self->debug('Diagnostics for the masses');
  $self->error('Nobody loves me!');

  $self->log('notice', 'Something important is about to happen');
  $self->log('debug', 'Nobody ever bothers to read those...');

DESCRIPTION ^

The WWW::Domain::Registry::Joker::Loggish class provides a simple logging interface, implemented using the Log::Dispatch module. It is meant to serve as a parent class providing the log(), debug(), and error() methods so that other classes do not have to worry about implementing them.

METHODS ^

The WWW::Domain::Registry::Joker::Loggish class provides the following methods:

SEE ALSO ^

Log::Dispatch

BUGS ^

HISTORY ^

The WWW::Domain::Registry::Joker::Loggish class was written by Peter Pentchev in 2007.

AUTHOR ^

Peter Pentchev, <roam@ringlet.net>

COPYRIGHT AND LICENSE ^

Copyright (C) 2007 by Peter Pentchev

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: