Skip to content

Commit 3ea1d0c

Browse files
committed
update logger type
1 parent 2643288 commit 3ea1d0c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/example/ExamplePlugin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
import com.zenith.api.plugin.Plugin;
44
import com.zenith.api.plugin.PluginAPI;
55
import com.zenith.api.plugin.ZenithProxyPlugin;
6+
import net.kyori.adventure.text.logger.slf4j.ComponentLogger;
67
import org.example.command.ExampleCommand;
78
import org.example.command.ExampleESPCommand;
89
import org.example.module.ExampleESPModule;
910
import org.example.module.ExampleModule;
10-
import org.slf4j.Logger;
1111

1212
@Plugin(
1313
id = "example-plugin",
@@ -22,7 +22,7 @@ public class ExamplePlugin implements ZenithProxyPlugin {
2222
// public static for simple access from modules and commands
2323
// or alternatively, you could pass these around in constructors
2424
public static ExampleConfig PLUGIN_CONFIG;
25-
public static Logger LOG;
25+
public static ComponentLogger LOG;
2626

2727
@Override
2828
public void onLoad(PluginAPI pluginAPI) {

0 commit comments

Comments
 (0)