Class NoopRecorder


  • public class NoopRecorder
    extends Recorder
    A Recorder which does nothing.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void record​(java.lang.String message)
      Records a message.
      void record​(java.lang.String format, java.lang.Object... arguments)
      Records a message with a format template and arguments.
      java.util.List<java.lang.String> takeRecords()
      Gets and clears the records recorded so far.
      • Methods inherited from class java.lang.Object

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

      • record

        public void record​(java.lang.String message)
        Description copied from class: Recorder
        Records a message.
        Overrides:
        record in class Recorder
        Parameters:
        message - message
      • record

        public void record​(java.lang.String format,
                           java.lang.Object... arguments)
        Description copied from class: Recorder
        Records a message with a format template and arguments.
        Overrides:
        record in class Recorder
        Parameters:
        format - the message format string
        arguments - the message string to be recorded
      • takeRecords

        public java.util.List<java.lang.String> takeRecords()
        Description copied from class: Recorder
        Gets and clears the records recorded so far. After this, the recorder is empty.
        Overrides:
        takeRecords in class Recorder
        Returns:
        the records