DOKK / manpages / debian 12 / libmetrics-any-perl / Metrics::Any::Adapter::Null.3pm.en
Metrics::Any::Adapter::Null(3pm) User Contributed Perl Documentation Metrics::Any::Adapter::Null(3pm)

"Metrics::Any::Adapter::Null" - a metrics reporting adapter which does nothing

This Metrics::Any adapter type contains an empty stub implementation of the adapter API, allowing a module to invoke methods on its metrics collector that do not do anything.

A program would run with this adapter by default unless it has requested a different one, via the "use Metrics::Any::Adapter" statement.

This adapter type claims to support batch mode, though the reporting callback will never be invoked.

Paul Evans <leonerd@leonerd.org.uk>

2022-12-30 perl v5.36.0