Reconstruct the codes.

This commit is contained in:
huanghongxun
2015-07-11 17:34:25 +08:00
parent 0be056ac04
commit 2b63d46ffd
113 changed files with 1281 additions and 1343 deletions

View File

@@ -18,33 +18,32 @@ package org.jackhuang.hellominecraft;
import org.jackhuang.hellominecraft.logging.logger.Logger;
/**
*
* @author huangyuhui
*/
public class HMCLog {
public static Logger logger = new Logger("HMC");
public static void log(String message) {
logger.info(message);
}
public static void warn(String message) {
logger.warn(message);
}
public static void warn(String msg, Throwable t) {
logger.warn(msg, t);
}
public static void err(String msg) {
logger.error(msg);
}
public static void err(String msg, Throwable t) {
logger.error(msg, t);
}
}