=head1 NAME Log::Fine::Handle::Null - Output messages to nowhere =head1 SYNOPSIS Provides logging to nowhere in particular use Log::Fine::Handle::Null; use Log::Fine::Levels::Syslog qw( :masks ); # Create a new handle my $handle = Log::Fine::Handle::Null ->new( name => "devnull", mask => LOGMASK_DEBUG | LOGMASK_INFO | LOGMASK_NOTICE ); # This is a no-op $handle->msgWrite(INFO, "Goes Nowhere. Does Nothing."); =head1 DESCRIPTION The null handle provides logging to nowhere in particular. =cut use strict; use warnings; package Log::Fine::Handle::Null; use base qw( Log::Fine::Handle ); use Log::Fine; our $VERSION = $Log::Fine::Handle::VERSION; =head1 METHODS =head2 msgWrite See L =cut sub msgWrite { return $_[0]; } # msgWrite() =head1 BUGS Please report any bugs or feature requests to C, or through the web interface at L. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. =head1 SUPPORT You can find documentation for this module with the perldoc command. perldoc Log::Fine You can also look for information at: =over 4 =item * AnnoCPAN: Annotated CPAN documentation L =item * CPAN Ratings L =item * RT: CPAN's request tracker L =item * Search CPAN L =back =head1 REVISION INFORMATION $Id: 411a65e85fa88dabf4cd0cf93dc1a8bda87c1d93 $ =head1 AUTHOR Christopher M. Fuhrman, C<< >> =head1 SEE ALSO L, L =head1 COPYRIGHT & LICENSE Copyright (c) 2013 Christopher M. Fuhrman, All rights reserved. This program is free software licensed under the... The BSD License The full text of the license can be found in the LICENSE file included with this module. =cut 1; # End of Log::Fine::Handle::Null