mirror of
https://e.coding.net/circlecloud/YumCore.git
synced 2024-11-22 01:48:50 +00:00
feat: 不混淆日志类
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
f7e7355dba
commit
2fc123df5c
@ -10,12 +10,15 @@ import org.bukkit.Bukkit;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.command.CommandSender;
|
||||
|
||||
import pw.yumc.YumCore.annotation.NotProguard;
|
||||
|
||||
/**
|
||||
* 插件日志输出类
|
||||
*
|
||||
* @author 喵♂呜
|
||||
* @since 2016年7月23日 上午9:11:01
|
||||
*/
|
||||
@NotProguard
|
||||
public class Log {
|
||||
private static boolean globalDebug = new File(String.format("plugins%1$sYumCore%1$sdebug", File.separatorChar)).exists();
|
||||
private static boolean debug = globalDebug || P.getDescription().getVersion().contains("DEV");
|
||||
|
Loading…
Reference in New Issue
Block a user