mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 13:15:30 +01:00
Added log prefix to info logger.
This commit is contained in:
parent
5f8c44ee6b
commit
5ae837f911
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user