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