public interface PluginLoggingManager
begin()
must be called before #end()
,
or the runWith(Supplier)
can be used to wrap another action with begin/end.Modifier and Type | Method and Description |
---|---|
void |
begin()
Begin using the plugins
|
void |
end(StatusResult result)
End using the plugins
|
<T extends StatusResult> |
runWith(java.util.function.Supplier<T> supplier)
Run a function by wrapping the call with a begin/end using try/finally
|
void begin()
void end(StatusResult result)
<T extends StatusResult> T runWith(java.util.function.Supplier<T> supplier)