exists()
, listenDir()
, listenFile()
, or readFile()
functions. All Sensors can receive information about the state of various parts of the system, and have callbacks to respond accordingly.listenFile()
Sensor. When one is detected, we would receive a FileEvent
giving us metadata about the change. We would then use the File System Aptitude's writeFile()
capability to copy those changes over to the logging file.