Class TracingEmitter

  • All Implemented Interfaces:
    Emitable

    public class TracingEmitter
    extends Object
    implements Emitable
    Wrapper for a yaml Emitable which logs Events.
    • Constructor Summary

      Constructors 
      Constructor Description
      TracingEmitter​(Emitable delegate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dump​(PrintStream out)
      Writes logged events to out
      void emit​(Event event)  
      • Methods inherited from class Object

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

      • TracingEmitter

        public TracingEmitter​(Emitable delegate)
    • Method Detail

      • emit

        public void emit​(Event event)
                  throws IOException
        Specified by:
        emit in interface Emitable
        Throws:
        IOException
      • dump

        public void dump​(PrintStream out)
        Writes logged events to out