Class StdoutMetricEmitter

  • All Implemented Interfaces:

    public class StdoutMetricEmitter
    extends java.lang.Object
    implements MetricEmitter
    Writes EMF formatted structured logs to stdout for testing.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void emitMetric​(Segment segment)
      Format the given metric and emit it.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StdoutMetricEmitter

        public StdoutMetricEmitter()
    • Method Detail

      • emitMetric

        public void emitMetric​(Segment segment)
        Description copied from interface: MetricEmitter
        Format the given metric and emit it.
        Specified by:
        emitMetric in interface MetricEmitter
        segment - Segment to emit metrics from