Package org.eclipse.sisu.inject
Class Logs.JULSink
- java.lang.Object
-
- org.eclipse.sisu.inject.Logs.JULSink
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.logging.Loggerlogger
-
Constructor Summary
Constructors Constructor Description JULSink()
-
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.
-
-