geforkt von Mirrors/Velocity
Revert "Also provide a "proper" java.util.logger logger to plugins."
This reverts commit 8d71ea7135
.
Totally broken
Dieser Commit ist enthalten in:
Ursprung
8d71ea7135
Commit
959e75d16d
@ -31,8 +31,6 @@ class VelocityPluginModule implements Module {
|
|||||||
binder.bind(description.getMainClass()).in(Scopes.SINGLETON);
|
binder.bind(description.getMainClass()).in(Scopes.SINGLETON);
|
||||||
|
|
||||||
binder.bind(Logger.class).toInstance(LoggerFactory.getLogger(description.getId()));
|
binder.bind(Logger.class).toInstance(LoggerFactory.getLogger(description.getId()));
|
||||||
binder.bind(java.util.logging.Logger.class)
|
|
||||||
.toInstance(java.util.logging.Logger.getLogger(description.getId()));
|
|
||||||
binder.bind(Path.class).annotatedWith(DataDirectory.class)
|
binder.bind(Path.class).annotatedWith(DataDirectory.class)
|
||||||
.toInstance(basePluginPath.resolve(description.getId()));
|
.toInstance(basePluginPath.resolve(description.getId()));
|
||||||
binder.bind(PluginDescription.class).toInstance(description);
|
binder.bind(PluginDescription.class).toInstance(description);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren