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.Logger
logger
-
Constructor Summary
Constructors Constructor Description JULSink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isTraceEnabled()
void
trace(java.lang.String message, java.lang.Throwable cause)
Accepts a trace message and optional exception cause.void
warn(java.lang.String message, java.lang.Throwable cause)
Accepts a warning message and optional exception cause.
-
-
-
Method Detail
-
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled
in interfaceLogs.Sink
- Returns:
true
if trace is enabled; otherwisefalse
-
trace
public void trace(java.lang.String message, java.lang.Throwable cause)
Description copied from interface:Logs.Sink
Accepts a trace message and optional exception cause.
-
-