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