1Metrics::Any::Adapter::USstedrerCro(n3t)ributed Perl DocMuemternitcast:i:oAnny::Adapter::Stderr(3)
2
3
4
6 "Metrics::Any::Adapter::Stderr" - write metrics to "STDERR"
7
9 use Metrics::Any::Adapter 'Stderr';
10
11 This Metrics::Any adapter type writes observations of metric values to
12 the standard error stream. This may be helpful while debugging or
13 otherwise testing code that reports metrics.
14
15 For example, by setting the "METRICS_ANY_ADAPTER" environment variable
16 to configure the adapter, a metric log will be written to the terminal
17 as a side-effect of running a unit test:
18
19 $ METRICS_ANY_ADAPTER=Stderr perl -Mblib t/01test.t
20
22 Paul Evans <leonerd@leonerd.org.uk>
23
24
25
26perl v5.34.0 2021-07-25 Metrics::Any::Adapter::Stderr(3)