com.github.fge.jsonschema.core.report
Class ConsoleProcessingReport
java.lang.Object
com.github.fge.jsonschema.core.report.AbstractProcessingReport
com.github.fge.jsonschema.core.report.ConsoleProcessingReport
- All Implemented Interfaces:
- ProcessingReport, Iterable<ProcessingMessage>
public final class ConsoleProcessingReport
- extends AbstractProcessingReport
A simple processing report printing its messages to System.out
| Methods inherited from class com.github.fge.jsonschema.core.report.AbstractProcessingReport |
debug, dispatch, error, fatal, getExceptionThreshold, getLogLevel, info, isSuccess, iterator, mergeWith, toString, warn |
ConsoleProcessingReport
public ConsoleProcessingReport(LogLevel logLevel,
LogLevel exceptionThreshold)
ConsoleProcessingReport
public ConsoleProcessingReport(LogLevel logLevel)
ConsoleProcessingReport
public ConsoleProcessingReport()
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