Used to monitor a log for a pattern.