mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-30 10:47:33 +02:00
Use org.slf4j.Logger directly
This commit is contained in:
@ -70,15 +70,16 @@
|
|||||||
<pattern>com.zaxxer.hikari</pattern>
|
<pattern>com.zaxxer.hikari</pattern>
|
||||||
<shadedPattern>fastlogin.hikari</shadedPattern>
|
<shadedPattern>fastlogin.hikari</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
<relocation>
|
|
||||||
<pattern>org.slf4j</pattern>
|
|
||||||
<shadedPattern>fastlogin.slf4j</shadedPattern>
|
|
||||||
</relocation>
|
|
||||||
<relocation>
|
<relocation>
|
||||||
<pattern>net.md_5.bungee.config</pattern>
|
<pattern>net.md_5.bungee.config</pattern>
|
||||||
<shadedPattern>fastlogin.config</shadedPattern>
|
<shadedPattern>fastlogin.config</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
</relocations>
|
</relocations>
|
||||||
|
<artifactSet>
|
||||||
|
<excludes>
|
||||||
|
<exclude>org.slf4j:*</exclude>
|
||||||
|
</excludes>
|
||||||
|
</artifactSet>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
@ -72,9 +72,9 @@ public class FastLoginVelocity implements PlatformPlugin<CommandSource> {
|
|||||||
private AsyncScheduler scheduler;
|
private AsyncScheduler scheduler;
|
||||||
|
|
||||||
@Inject
|
@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.server = server;
|
||||||
this.logger = CommonUtil.createLoggerFromJDK(logger);
|
this.logger = logger;
|
||||||
this.dataDirectory = dataDirectory;
|
this.dataDirectory = dataDirectory;
|
||||||
logger.info("FastLogin velocity.");
|
logger.info("FastLogin velocity.");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user