package com.elmakers.mine.bukkit.utility;

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

public class ColoredLogger extends Logger {
    private final Logger log;
    private boolean colorize;

    public ColoredLogger(Logger wrap) {
        super(wrap.getName(), wrap.getResourceBundleName());
        this.log = wrap;
        this.colorize = true;
    }

    public void log(LogRecord record) {
        if (colorize) {
            if (record.getLevel() == Level.SEVERE) {
                record.setMessage("\u001b[31m " + record.getMessage() + "\u001b[0m");
            } else if (record.getLevel() == Level.WARNING) {
                record.setMessage("\u001b[33m " + record.getMessage() + "\u001b[0m");
            }
        }
        log.log(record);
    }

    public void setColorize(boolean colorize) {
        this.colorize = colorize;
    }
}

@@ -207,19 +207,24 @@
  Logger 
-log
+delegate
 ;%0A    pr
@@ -245,16 +245,23 @@
 colorize
+ = true
 ;%0A%0A    p
@@ -287,20 +287,24 @@
 (Logger 
-wrap
+delegate
 ) %7B%0A    
@@ -313,20 +313,24 @@
   super(
-wrap
+delegate
 .getName
@@ -333,20 +333,24 @@
 Name(), 
-wrap
+delegate
 .getReso
@@ -385,56 +385,49 @@
 his.
-log = wrap
+delegate = delegate
 ;%0A    
+%7D%0A%0A
     
-this.colorize = true;%0A    %7D%0A
+@Override
 %0A   
@@ -805,19 +805,24 @@
         
-log
+delegate
 .log(rec

Add missing override annotation