1## Domain Registry Interface, Null Logging operations for Net::DRI 2## 3## Copyright (c) 2009 Patrick Mevzek <netdri@dotandco.com>. All rights reserved. 4## 5## This file is part of Net::DRI 6## 7## Net::DRI is free software; you can redistribute it and/or modify 8## it under the terms of the GNU General Public License as published by 9## the Free Software Foundation; either version 2 of the License, or 10## (at your option) any later version. 11## 12## See the LICENSE file that comes with this distribution for more details. 13# 14# 15# 16#################################################################################################### 17 18package Net::DRI::Logging::Null; 19 20use strict; 21use warnings; 22 23use base qw/Net::DRI::Logging/; 24 25our $VERSION=do { my @r=(q$Revision: 1.1 $=~/\d+/g); sprintf '%d'.('.%02d' x $#r), @r; }; 26 27#################################################################################################### 28 29sub name { return 'null'; } 30sub setup_channel { return; } 31sub output { return; } 32 33#################################################################################################### 341; 35 36__END__ 37 38=pod 39 40=head1 NAME 41 42Net::DRI::Logging::Null - Null Logging Operations for Net::DRI 43 44=head1 VERSION 45 46This documentation refers to Net::DRI::Logging::Null version 1.01 47 48=head1 SYNOPSIS 49 50See L<Net::DRI::Logging> 51 52=head1 DESCRIPTION 53 54This is the default logging class used by L<Net::DRI> if nothing else is specified, 55 56It discards everything (no logging at all). 57 58=head1 EXAMPLES 59 60 $dri->new({..., logging => 'null' ,...}); 61 62If not provided during C<new()>, this is the default behaviour. 63 64=head1 SUBROUTINES/METHODS 65 66All mandated by superclass L<Net::DRI::Logging>. 67 68=head1 DIAGNOSTICS 69 70None. 71 72=head1 CONFIGURATION AND ENVIRONMENT 73 74None. 75 76=head1 DEPENDENCIES 77 78This module has to be used inside the Net::DRI framework and needs the following components: 79 80=over 81 82=item L<Net::DRI::Logging> 83 84=back 85 86=head1 INCOMPATIBILITIES 87 88None 89 90=head1 BUGS AND LIMITATIONS 91 92No known bugs. Please report problems to author (see below) or use CPAN RT system. Patches are welcome. 93 94=head1 SUPPORT 95 96For now, support questions should be sent to: 97 98E<lt>netdri@dotandco.comE<gt> 99 100Please also see the SUPPORT file in the distribution. 101 102=head1 SEE ALSO 103 104E<lt>http://www.dotandco.com/services/software/Net-DRI/E<gt> 105 106=head1 AUTHOR 107 108Patrick Mevzek, E<lt>netdri@dotandco.comE<gt> 109 110=head1 LICENSE AND COPYRIGHT 111 112Copyright (c) 2009 Patrick Mevzek <netdri@dotandco.com>. All rights reserved. 113 114This program is free software; you can redistribute it and/or modify 115it under the terms of the GNU General Public License as published by 116the Free Software Foundation; either version 2 of the License, or 117(at your option) any later version. 118 119See the LICENSE file that comes with this distribution for more details. 120 121=cut 122