| java.lang.Object | |
| ↳ | org.eclipse.sisu.inject.Logs |
Utility methods for dealing with container logging and recovery.
Set -Dsisu.debug to send detailed tracing to the console.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| NEW_LINE | |||||||||||
| TRACE_ENABLED | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Helper method for catching
Throwables; severe errors such as ThreadDeath are always re-thrown. | |||||||||||
Returns an identity string for the given object.
| |||||||||||
Helper method for throwing
Throwables; checked exceptions are wrapped as ProvisionExceptions. | |||||||||||
Returns a string representation of the given
Injector. | |||||||||||
Returns a string representation of the given
Module. | |||||||||||
Logs a trace message; uses "{}" format anchors.
| |||||||||||
Logs a warning message; uses "{}" format anchors.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Helper method for catching Throwables; severe errors such as ThreadDeath are always re-thrown.
| problem | The problem |
|---|
Returns an identity string for the given object.
| object | The object |
|---|
Helper method for throwing Throwables; checked exceptions are wrapped as ProvisionExceptions.
| problem | The problem |
|---|
Returns a string representation of the given Injector.
| injector | The injector |
|---|
Returns a string representation of the given Module.
| module | The module |
|---|
Logs a trace message; uses "{}" format anchors. Pass Throwables in last parameter for special handling.
| format | The trace message format |
|---|---|
| arg1 | First object to format |
| arg2 | Second object to format |
Logs a warning message; uses "{}" format anchors. Pass Throwables in last parameter for special handling.
| format | The warning message format |
|---|---|
| arg1 | First object to format |
| arg2 | Second object to format |