mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 21:25:46 +01:00
Made use of log.log instead of .info.
This commit is contained in:
parent
5ae837f911
commit
3b16a36b99
@ -7,7 +7,7 @@ public class Log {
|
|||||||
protected static final Logger log = Logger.getLogger("Minecraft");
|
protected static final Logger log = Logger.getLogger("Minecraft");
|
||||||
protected static final String LOG_PREFIX = "[dynmap] ";
|
protected static final String LOG_PREFIX = "[dynmap] ";
|
||||||
public static void info(String msg) {
|
public static void info(String msg) {
|
||||||
log.info(LOG_PREFIX + msg);
|
log.log(Level.INFO, LOG_PREFIX + msg);
|
||||||
}
|
}
|
||||||
public static void severe(Exception e) {
|
public static void severe(Exception e) {
|
||||||
log.log(Level.SEVERE, LOG_PREFIX + "Exception occured: ", e);
|
log.log(Level.SEVERE, LOG_PREFIX + "Exception occured: ", e);
|
||||||
|
Loading…
Reference in New Issue
Block a user