public class StatusLogger
extends java.lang.Object
Event listener that logs status messages.
Constructor and Description |
---|
StatusLogger(org.slf4j.Logger log)
Construct a new status logger writing to a logger.
|
Modifier and Type | Method and Description |
---|---|
void |
jobFailed(JobEvent.Failed jf) |
void |
jobFinished(JobEvent.Finished jf) |
void |
jobStarted(JobEvent.Started js) |
void |
progressUpdate(JobEvent.ProgressUpdate jp) |
public StatusLogger(org.slf4j.Logger log)
Construct a new status logger writing to a logger.
log
- The logger.public void jobStarted(JobEvent.Started js)
public void progressUpdate(JobEvent.ProgressUpdate jp)
public void jobFinished(JobEvent.Finished jf)
public void jobFailed(JobEvent.Failed jf)