Log::Any::Adapter::Null — Discards all log messages
| Use Case | Command | Description |
|---|---|---|
| Set null adapter globally | Log::Any::Adapter->set('Null'); | Discard all log messages and return false for detection methods |
| Check if debugging is enabled | $log->is_debug() | Always returns false (null adapter) |
| Get a logger with null adapter | my $log = Log::Any->get_logger; | Logger that silently discards all messages |
version 1.710
Log::Any::Adapter->set('Null');
This Log::Any adapter discards all log messages and returns false for all detection methods (e.g. is_debug). This is the default adapter when Log::Any is loaded.
This software is copyright (c) 2017 by Jonathan Swartz, David Golden, and Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.32.1 | 2021-09-27 | Log::Any::Adapter::Null(3pm)
Generated by phpman v4.9.29 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-22 00:34 @2600:1f28:365:80b0:d8a5:c3c6:bf94:28c0
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format