Remove unused Logger.java
This commit is contained in:
parent
b9a7e6a7e4
commit
bee1048fc2
|
|
@ -1,28 +0,0 @@
|
||||||
package com.alttd.afkdectector.util;
|
|
||||||
|
|
||||||
import net.md_5.bungee.api.ChatColor;
|
|
||||||
import org.bukkit.Bukkit;
|
|
||||||
|
|
||||||
import java.util.logging.Level;
|
|
||||||
|
|
||||||
public class Logger {
|
|
||||||
|
|
||||||
public static void info(String str) {
|
|
||||||
log(Level.INFO, "&e" + str);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static void warn(String str) {
|
|
||||||
log(Level.SEVERE, "&6" + str);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static void severe(String str) {
|
|
||||||
log(Level.SEVERE, "&c" + str);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static void log(Level level, String str) {
|
|
||||||
Bukkit.getLogger().log(level,
|
|
||||||
ChatColor.translateAlternateColorCodes('&',
|
|
||||||
"&r " + str));
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user