Skip to content

Instantly share code, notes, and snippets.

View quantum5's full-sized avatar

Guanzhong Chen quantum5

View GitHub Profile
@quantum5
quantum5 / ErrorLogger.java
Created October 14, 2012 20:06 — forked from Xyene/ErrorLogger.java
Multiple-Plugin Capable ErrorLogger
/**
* Custom logger to save errors.
*
* @author Icyene
*/
public class ErrorLogger extends PluginLogger {
public static Map<String, List<String>>> registry = new HashMap<String, List<String>>>();
public static boolean inited = false;
private static Field logger_mc, cb_mcs, logger;