package org.metaborg.util.log;

public enum Level {
    Trace, Debug, Info, Warn, Error
}

@@ -80,11 +80,287 @@
 n, Error
+;%0A%0A    public static Level parse(String name) %7B%0A        for(Level level : Level.values()) %7B%0A            if(level.name().equalsIgnoreCase(name)) %7B%0A                return level;%0A            %7D%0A        %7D%0A        throw new IllegalArgumentException(%22Unknown level: %22 + name);%0A    %7D%0A
 %0A%7D%0A

Add parsing function for log levels.