@Singleton
public class ErrorLogger
extends java.lang.Object
implements com.djrapitops.plugin.logging.error.ErrorHandler
Constructor and Description |
---|
ErrorLogger(PlanPlugin plugin,
com.djrapitops.plugin.logging.console.PluginLogger logger,
PlanFiles files,
dagger.Lazy<ServerProperties> serverProperties,
dagger.Lazy<VersionChecker> versionChecker,
dagger.Lazy<Formatters> formatters) |
Modifier and Type | Method and Description |
---|---|
void |
log(com.djrapitops.plugin.logging.L level,
java.lang.Class caughtBy,
java.lang.Throwable throwable)
Deprecated.
|
<T extends ExceptionWithContext> |
log(com.djrapitops.plugin.logging.L level,
T throwable) |
void |
log(com.djrapitops.plugin.logging.L level,
java.lang.Throwable throwable,
ErrorContext context) |
void |
mergeAdditionalContext(java.lang.Throwable throwable,
ErrorContext context) |
@Inject public ErrorLogger(PlanPlugin plugin, com.djrapitops.plugin.logging.console.PluginLogger logger, PlanFiles files, dagger.Lazy<ServerProperties> serverProperties, dagger.Lazy<VersionChecker> versionChecker, dagger.Lazy<Formatters> formatters)
public <T extends ExceptionWithContext> void log(com.djrapitops.plugin.logging.L level, T throwable)
public void log(com.djrapitops.plugin.logging.L level, java.lang.Throwable throwable, ErrorContext context)
public void mergeAdditionalContext(java.lang.Throwable throwable, ErrorContext context)
@Deprecated public void log(com.djrapitops.plugin.logging.L level, java.lang.Class caughtBy, java.lang.Throwable throwable)
log
in interface com.djrapitops.plugin.logging.error.ErrorHandler