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 voidturnOffTimedUpdateLogging()voidturnOnTimedUpdateLogging()voidupdate(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:ObserverIfcThis method is called when the observable needs observing- Specified by:
updatein interfaceObserverIfc- Parameters:
subject- the thing observedarg- an object of info
-
-