public class Slf4jReporter extends ReporterAdapter
Reporter.SetLocationReport.Location| Constructor and Description |
|---|
Slf4jReporter() |
Slf4jReporter(Class<?> loggingClass) |
| 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.
|
static Reporter |
getAlternative(Class<?> class1,
Reporter reporter) |
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.
|
addErrors, addWarnings, check, getErrors, getInfo, getInfo, getLocation, getMessages, getOut, getWarnings, isExceptions, isOk, isPedantic, isPerfect, isTrace, report, run, setExceptions, setPedantic, setTracepublic Slf4jReporter(Class<?> loggingClass)
public Slf4jReporter()
public Reporter.SetLocation error(String format, Object... args)
Reportererror in interface Reportererror in class ReporterAdapterformat - The format of the errorargs - The arguments of the errorpublic Reporter.SetLocation warning(String format, Object... args)
Reporterwarning in interface Reporterwarning in class ReporterAdapterformat - The format of the errorargs - The arguments of the error@Deprecated public void trace(String format, 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, String format, 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(Throwable t, String format, Object... args)
Reporterexception in interface Reporterexception in class ReporterAdaptert - The exceptionformat - The format of the messageargs - The argumentsCopyright © 2019 aQute SARL. All rights reserved.