Split project
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
package com.alttd.playershops.utils;
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user