public class ProgressLogger extends AbstractProgressLogger
| Constructor and Description |
|---|
ProgressLogger(Log log)
Construct a progress logger with the desired log, the verb "Processed" and a period of 1m records.
|
ProgressLogger(Log log,
int n)
Construct a progress logger with the desired log and frequency and the verb "Processed".
|
ProgressLogger(Log log,
int n,
java.lang.String verb)
Construct a progress logger.
|
ProgressLogger(Log log,
int n,
java.lang.String verb,
java.lang.String noun)
Construct a progress logger.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
log(java.lang.String... message)
Log a message to whatever logger is being used
|
getCount, getElapsedSeconds, log, record, record, recordpublic ProgressLogger(Log log, int n, java.lang.String verb, java.lang.String noun)
log - the Log object to write outputs ton - the frequency with which to output (i.e. every N records)verb - the verb to log, e.g. "Processed, Read, Written".noun - the noun to use when logging, e.g. "Records, Variants, Loci"public ProgressLogger(Log log, int n, java.lang.String verb)
log - the Log object to write outputs ton - the frequency with which to output (i.e. every N records)verb - the verb to log, e.g. "Processed, Read, Written".public ProgressLogger(Log log, int n)
log - the Log object to write outputs ton - the frequency with which to output (i.e. every N records)public ProgressLogger(Log log)
log - the Log object to write outputs toprotected void log(java.lang.String... message)
AbstractProgressLoggerlog in class AbstractProgressLoggermessage - a message to be logged by the logger (recommended output level is INFO or the equivalent)