Use org.slf4j.Logger directly

This commit is contained in:
juanmuscaria
2021-09-15 13:54:28 -03:00
parent f82c85d3eb
commit 268c70bc51
2 changed files with 7 additions and 6 deletions

View File

@ -70,15 +70,16 @@
<pattern>com.zaxxer.hikari</pattern>
<shadedPattern>fastlogin.hikari</shadedPattern>
</relocation>
<relocation>
<pattern>org.slf4j</pattern>
<shadedPattern>fastlogin.slf4j</shadedPattern>
</relocation>
<relocation>
<pattern>net.md_5.bungee.config</pattern>
<shadedPattern>fastlogin.config</shadedPattern>
</relocation>
</relocations>
<artifactSet>
<excludes>
<exclude>org.slf4j:*</exclude>
</excludes>
</artifactSet>
</configuration>
<executions>
<execution>

View File

@ -72,9 +72,9 @@ public class FastLoginVelocity implements PlatformPlugin<CommandSource> {
private AsyncScheduler scheduler;
@Inject
public FastLoginVelocity(ProxyServer server, java.util.logging.Logger logger, @DataDirectory Path dataDirectory) {
public FastLoginVelocity(ProxyServer server, Logger logger, @DataDirectory Path dataDirectory) {
this.server = server;
this.logger = CommonUtil.createLoggerFromJDK(logger);
this.logger = logger;
this.dataDirectory = dataDirectory;
logger.info("FastLogin velocity.");
}