Package jsl.observers.textfile
Class LogReport
- java.lang.Object
-
- jsl.observers.textfile.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
turnOffTimedUpdateLogging()
void
turnOnTimedUpdateLogging()
void
update(java.lang.Object subject, java.lang.Object arg)
This method is called when the observable needs observing
-
-
-
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 interfaceObserverIfc
- Parameters:
subject
- the thing observedarg
- an object of info
-
-