com.github.fge.jsonschema.core.report
Class DevNullProcessingReport
java.lang.Object
com.github.fge.jsonschema.core.report.AbstractProcessingReport
com.github.fge.jsonschema.core.report.DevNullProcessingReport
- All Implemented Interfaces:
- ProcessingReport, Iterable<ProcessingMessage>
public final class DevNullProcessingReport
- extends AbstractProcessingReport
A processing report which logs absolutely nothing
Use this class if all you are interested in is the processing status.
| Methods inherited from class com.github.fge.jsonschema.core.report.AbstractProcessingReport |
debug, dispatch, error, fatal, getExceptionThreshold, getLogLevel, info, isSuccess, iterator, mergeWith, toString, warn |
DevNullProcessingReport
public DevNullProcessingReport(LogLevel logLevel,
LogLevel exceptionThreshold)
DevNullProcessingReport
public DevNullProcessingReport(LogLevel logLevel)
DevNullProcessingReport
public DevNullProcessingReport()
log
public void log(LogLevel level,
ProcessingMessage message)
- Description copied from class:
AbstractProcessingReport
- The only method to be implemented when extending this class
Note that the message's log level will have been correctly set. The
log level is passed as an argument for convenience.
- Specified by:
log in class AbstractProcessingReport
- Parameters:
level - the level of the messagemessage - the message itself