Metrics::Any::Adapter::Stderr

Section: User Contributed Perl Documentation (3pm)
Updated: 2022-12-30
Index Return to Main Contents
 

NAME

"Metrics::Any::Adapter::Stderr" - write metrics to "STDERR"  

SYNOPSIS

   use Metrics::Any::Adapter 'Stderr';

This Metrics::Any adapter type writes observations of metric values to the standard error stream. This may be helpful while debugging or otherwise testing code that reports metrics.

For example, by setting the "METRICS_ANY_ADAPTER" environment variable to configure the adapter, a metric log will be written to the terminal as a side-effect of running a unit test:

   $ METRICS_ANY_ADAPTER=Stderr perl -Mblib t/01test.t

This adapter type does not support batch mode reporting.  

AUTHOR

Paul Evans <leonerd@leonerd.org.uk>


 

Index

NAME
SYNOPSIS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 04:44:38 GMT, May 23, 2024