Class LogReport

  • All Implemented Interfaces:
    ObserverIfc

    public class LogReport
    extends java.lang.Object
    implements ObserverIfc
    • Constructor Summary

      Constructors 
      Constructor Description
      LogReport​(java.nio.file.Path pathToFile)  
    • Constructor Detail

      • LogReport

        public LogReport​(java.nio.file.Path pathToFile)
    • Method Detail

      • turnOnTimedUpdateLogging

        public final void turnOnTimedUpdateLogging()
      • turnOffTimedUpdateLogging

        public final void turnOffTimedUpdateLogging()
      • update

        public void update​(java.lang.Object subject,
                           java.lang.Object arg)
        Description copied from interface: ObserverIfc
        This method is called when the observable needs observing
        Specified by:
        update in interface ObserverIfc
        Parameters:
        subject - the thing observed
        arg - an object of info