Christopher M. Fuhrman > Log-Fine > Log::Fine::Handle::Null

Download:
Log-Fine-0.64.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Log::Fine::Handle::Null - Output messages to nowhere

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.");

DESCRIPTION ^

The null handle provides logging to nowhere in particular.

METHODS ^

msgWrite

See "msgWrite" in Log::Fine::Handle

BUGS ^

Please report any bugs or feature requests to bug-log-fine at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Log-Fine. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc Log::Fine

You can also look for information at:

AUTHOR ^

Christopher M. Fuhrman, <cfuhrman at panix.com>

SEE ALSO ^

perl, Log::Fine::Handle

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.

syntax highlighting: