public class Slf4jReporter extends ReporterAdapter
Reporter.SetLocationReport.Location| Constructor and Description |
|---|
Slf4jReporter() |
Slf4jReporter(java.lang.Class<?> loggingClass) |
| Modifier and Type | Method and Description |
|---|---|
Reporter.SetLocation |
error(java.lang.String format,
java.lang.Object... args)
Create an error.
|
Reporter.SetLocation |
exception(java.lang.Throwable t,
java.lang.String format,
java.lang.Object... args)
Dedicated message for an exception.
|
static Reporter |
getAlternative(java.lang.Class<?> class1,
Reporter reporter) |
void |
progress(float progress,
java.lang.String format,
java.lang.Object... args)
Deprecated.
Use SLF4J
Logger.info(aQute.libg.slf4j.GradleLogging.LIFECYCLE)
instead.
|
void |
trace(java.lang.String format,
java.lang.Object... args)
Deprecated.
Use SLF4J Logger.debug instead.
|
Reporter.SetLocation |
warning(java.lang.String format,
java.lang.Object... args)
Create a warning.
|
addErrors, addWarnings, check, getErrors, getInfo, getInfo, getLocation, getMessages, getOut, getWarnings, isExceptions, isOk, isPedantic, isPerfect, isTrace, report, run, setExceptions, setPedantic, setTracepublic Slf4jReporter(java.lang.Class<?> loggingClass)
public Slf4jReporter()
public Reporter.SetLocation error(java.lang.String format, java.lang.Object... args)
Reportererror in interface Reportererror in class ReporterAdapterformat - The format of the errorargs - The arguments of the errorpublic Reporter.SetLocation warning(java.lang.String format, java.lang.Object... args)
Reporterwarning in interface Reporterwarning in class ReporterAdapterformat - The format of the errorargs - The arguments of the error@Deprecated
public void trace(java.lang.String format,
java.lang.Object... args)
Reportertrace in interface Reportertrace in class ReporterAdapterformat - The format of the errorargs - The arguments of the error@Deprecated
public void progress(float progress,
java.lang.String format,
java.lang.Object... args)
Reporterprogress in interface Reporterprogress in class ReporterAdapterprogress - 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 errorpublic Reporter.SetLocation exception(java.lang.Throwable t, java.lang.String format, java.lang.Object... args)
Reporterexception in interface Reporterexception in class ReporterAdaptert - The exceptionformat - The format of the messageargs - The argumentsCopyright (c) aQute SARL (2000, 2017) and others. All Rights Reserved.