Package org.eclipse.sisu.inject
Interface Logs.Sink
- All Known Implementing Classes:
Logs.ConsoleSink
,Logs.JULSink
,Logs.SLF4JSink
- Enclosing class:
- Logs
private static interface Logs.Sink
Something that accepts formatted messages.
-
Method Summary
-
Method Details
-
isTraceEnabled
boolean isTraceEnabled()- Returns:
true
if trace is enabled; otherwisefalse
-
trace
Accepts a trace message and optional exception cause.- Parameters:
message
- The trace messagecause
- The exception cause
-
warn
Accepts a warning message and optional exception cause.- Parameters:
message
- The warning messagecause
- The exception cause
-