Package org.eclipse.sisu.inject
Class Logs.SLF4JSink
- java.lang.Object
-
- org.eclipse.sisu.inject.Logs.SLF4JSink
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description SLF4JSink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisTraceEnabled()voidtrace(java.lang.String message, java.lang.Throwable cause)Accepts a trace message and optional exception cause.voidwarn(java.lang.String message, java.lang.Throwable cause)Accepts a warning message and optional exception cause.
-
-
-
Method Detail
-
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabledin interfaceLogs.Sink- Returns:
trueif trace is enabled; otherwisefalse
-
trace
public void trace(java.lang.String message, java.lang.Throwable cause)Description copied from interface:Logs.SinkAccepts a trace message and optional exception cause.
-
-