@Singleton
public class WebExceptionLogger
extends java.lang.Object
Constructor and Description |
---|
WebExceptionLogger(ConnectionLog connectionLog,
com.djrapitops.plugin.logging.console.PluginLogger logger,
com.djrapitops.plugin.logging.error.ErrorHandler errorHandler) |
Modifier and Type | Method and Description |
---|---|
void |
logIfOccurs(java.lang.Class definingClass,
ThrowingVoidFunction<WebException> function) |
@Inject public WebExceptionLogger(ConnectionLog connectionLog, com.djrapitops.plugin.logging.console.PluginLogger logger, com.djrapitops.plugin.logging.error.ErrorHandler errorHandler)
public void logIfOccurs(java.lang.Class definingClass, ThrowingVoidFunction<WebException> function)