public interface Reporter extends Report
Modifier and Type | Interface and Description |
---|---|
static interface |
Reporter.SetLocation
Fluid interface to set location data
|
Report.Location
Modifier and Type | Method and Description |
---|---|
Reporter.SetLocation |
error(String format,
Object... args)
Create an error.
|
Reporter.SetLocation |
exception(Throwable t,
String format,
Object... args)
Dedicated message for an exception.
|
boolean |
isPedantic()
The provider of the reporter wants pedantic reporting, meaning every
possible warning should be reported.
|
void |
progress(float progress,
String format,
Object... args)
Deprecated.
Use SLF4J
Logger.info(aQute.libg.slf4j.GradleLogging.LIFECYCLE)
instead.
|
void |
trace(String format,
Object... args)
Deprecated.
Use SLF4J Logger.debug instead.
|
Reporter.SetLocation |
warning(String format,
Object... args)
Create a warning.
|
getErrors, getLocation, getWarnings, isOk
Reporter.SetLocation error(String format, Object... args)
format
- The format of the errorargs
- The arguments of the errorReporter.SetLocation warning(String format, Object... args)
format
- The format of the errorargs
- The arguments of the error@Deprecated void trace(String format, Object... args)
format
- The format of the errorargs
- The arguments of the error@Deprecated void progress(float progress, String format, Object... args)
progress
- A value between 0 and 1 indicating the progress. 0 is
starting and >=1 is done.format
- The format of the errorargs
- The arguments of the errorReporter.SetLocation exception(Throwable t, String format, Object... args)
t
- The exceptionformat
- The format of the messageargs
- The argumentsboolean isPedantic()
Copyright © 2021 aQute SARL. All rights reserved.