Files
HMCL/HMCLAPI/src/main/java/org/jackhuang/hellominecraft/HMCLog.java

41 lines
841 B
Java
Raw Normal View History

2015-06-22 16:47:05 +08:00
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.jackhuang.hellominecraft;
import org.jackhuang.hellominecraft.logging.logger.Logger;
/**
*
* @author hyh
*/
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);
}
}