Class PluginErrorLogger
java.lang.Object
com.djrapitops.plan.utilities.logging.PluginErrorLogger
- All Implemented Interfaces:
ErrorLogger
New logger that logs errors to specific files.
-
Constructor Summary
ConstructorsConstructorDescriptionPluginErrorLogger(PlanPlugin plugin, net.playeranalytics.plugin.server.PluginLogger logger, PlanFiles files, dagger.Lazy<ServerProperties> serverProperties, dagger.Lazy<VersionChecker> versionChecker, dagger.Lazy<Formatters> formatters) -
Method Summary
Modifier and TypeMethodDescriptionvoidcritical(Throwable throwable, ErrorContext context) voiderror(Throwable throwable, ErrorContext context) voidwarn(Throwable throwable, ErrorContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.djrapitops.plan.utilities.logging.ErrorLogger
createMissingContext, critical, error, warn
-
Constructor Details
-
PluginErrorLogger
@Inject public PluginErrorLogger(PlanPlugin plugin, net.playeranalytics.plugin.server.PluginLogger logger, PlanFiles files, dagger.Lazy<ServerProperties> serverProperties, dagger.Lazy<VersionChecker> versionChecker, dagger.Lazy<Formatters> formatters)
-
-
Method Details
-
critical
- Specified by:
criticalin interfaceErrorLogger
-
error
- Specified by:
errorin interfaceErrorLogger
-
warn
- Specified by:
warnin interfaceErrorLogger
-