Package org.eclipse.sisu.inject
Class Logs.JULSink
java.lang.Object
org.eclipse.sisu.inject.Logs.JULSink
- All Implemented Interfaces:
Logs.Sink
- Enclosing class:
Logs
Logs.Sink
s messages to the JDK.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Accepts a debug message and optional exception cause.boolean
boolean
void
Accepts a trace message and optional exception cause.void
Accepts a warning message and optional exception cause.
-
Field Details
-
logger
-
-
Constructor Details
-
JULSink
JULSink()
-
-
Method Details
-
isTraceEnabled
public boolean isTraceEnabled()- Specified by:
isTraceEnabled
in interfaceLogs.Sink
- Returns:
true
if trace is enabled; otherwisefalse
-
isDebugEnabled
public boolean isDebugEnabled()- Specified by:
isDebugEnabled
in interfaceLogs.Sink
- Returns:
true
if debug is enabled; otherwisefalse
-
trace
Description copied from interface:Logs.Sink
Accepts a trace message and optional exception cause. -
debug
Description copied from interface:Logs.Sink
Accepts a debug message and optional exception cause. -
warn
Description copied from interface:Logs.Sink
Accepts a warning message and optional exception cause.
-