Registers a listener that whose notify() method will be called
whenever a record is added to this log; the first argument of
notify() is the log itself, and the second is the LogRecord that
was added.
This method loops forever; every delayMS (passed to the constructor)
it will wake up, get all of the records from the last delayMS
(also passed to the constructor) and print them out.