perldoc > Log::Dispatch::Null

📘 NAME

Log::Dispatch::Null – Object that accepts messages and does nothing

🚀 Quick Reference

Use Case Command Description
Initialize a null logger Log::Dispatch->new( outputs => [ [ 'Null', min_level => 'debug' ] ] ) 🛠️ Create a dispatcher with a null output that silently discards all messages.
Send an emergency message $null->emerg( "I've fallen and I can't get up" ); 📤 Send a message at the emerg level; it is ignored.

💻 VERSION

version 2.70

📝 SYNOPSIS

use Log::Dispatch;

my $null
    = Log::Dispatch->new( outputs => [ [ 'Null', min_level => 'debug' ] ] );

$null->emerg( "I've fallen and I can't get up" );

📖 DESCRIPTION

This class provides a null logging object. Messages can be sent to the object but it does nothing with them.

🛠️ SUPPORT

Bugs may be submitted at <https://github.com/houseabsolute/Log-Dispatch/issues>.

I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".

📦 SOURCE

The source code repository for Log-Dispatch can be found at <https://github.com/houseabsolute/Log-Dispatch>.

👤 AUTHOR

Dave Rolsky <autarch AT urth.org>

📄 COPYRIGHT AND LICENSE

This software is Copyright (c) 2020 by Dave Rolsky.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)

The full text of the license can be found in the LICENSE file included with this distribution.

Log::Dispatch::Null
📘 NAME 🚀 Quick Reference 💻 VERSION 📝 SYNOPSIS 📖 DESCRIPTION 🛠️ SUPPORT 📦 SOURCE 👤 AUTHOR 📄 COPYRIGHT AND LICENSE

Generated by phpman v4.9.29 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-22 01:35 @2600:1f28:365:80b0:d8a5:c3c6:bf94:28c0
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format