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.Sinks messages to the system console.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAccepts a debug message and optional exception cause.booleanbooleanvoidAccepts a trace message and optional exception cause.voidAccepts a warning message and optional exception cause.
-
Field Details
-
TRACE
- See Also:
-
DEBUG
- See Also:
-
WARN
- See Also:
-
-
Constructor Details
-
ConsoleSink
ConsoleSink()
-
-
Method Details
-
isTraceEnabled
public boolean isTraceEnabled()- Specified by:
isTraceEnabledin interfaceLogs.Sink- Returns:
trueif trace is enabled; otherwisefalse
-
isDebugEnabled
public boolean isDebugEnabled()- Specified by:
isDebugEnabledin interfaceLogs.Sink- Returns:
trueif debug is enabled; otherwisefalse
-
trace
Description copied from interface:Logs.SinkAccepts a trace message and optional exception cause. -
debug
Description copied from interface:Logs.SinkAccepts a debug message and optional exception cause. -
warn
Description copied from interface:Logs.SinkAccepts a warning message and optional exception cause.
-