package org.dynmap;

import java.util.logging.Level;
import java.util.logging.Logger;

public class Log {
    protected static Logger log = Logger.getLogger("Dynmap");
    protected static String prefix = "";
    public static boolean verbose = false;
    public static void setLogger(Logger logger, String pre) {
        log = logger;
        if((pre != null) && (pre.length() > 0))
            prefix = pre + " ";
        else
            prefix = "";
    }
    public static void info(String msg) {
        log.log(Level.INFO, prefix + msg);
    }
    public static void verboseinfo(String msg) {
        if(verbose)
            log.log(Level.INFO, prefix + msg);
    }
    public static void severe(Throwable e) {
        log.log(Level.SEVERE, prefix + "Exception occured: ", e);
    }
    public static void severe(String msg) {
        log.log(Level.SEVERE, prefix + msg);
    }
    public static void severe(String msg, Throwable e) {
        log.log(Level.SEVERE, prefix + msg, e);
    }
    public static void warning(String msg) {
        log.log(Level.WARNING, prefix + msg);
    }
    public static void warning(String msg, Throwable e) {
        log.log(Level.WARNING, prefix + msg, e);
    }
}

@@ -101,31 +101,29 @@
 Log %7B%0A    pr
-otec
+iva
 te
-d
  static Logg
@@ -169,15 +169,13 @@
   pr
-otec
+iva
 te
-d
  sta
@@ -441,32 +441,125 @@
 fix = %22%22;%0A    %7D%0A
+    public static void setLoggerParent(Logger parent) %7B%0A        log.setParent(parent);%0A    %7D%0A
     public stati

Add API for setting logger parent