Added log prefix to info logger.

This commit is contained in:
zeeZ 2011-05-20 16:56:16 +02:00 committed by FrozenCow
parent 5f8c44ee6b
commit 5ae837f911

View File

@ -7,7 +7,7 @@ public class Log {
protected static final Logger log = Logger.getLogger("Minecraft");
protected static final String LOG_PREFIX = "[dynmap] ";
public static void info(String msg) {
log.info(msg);
log.info(LOG_PREFIX + msg);
}
public static void severe(Exception e) {
log.log(Level.SEVERE, LOG_PREFIX + "Exception occured: ", e);