@@ -0,0 +1,660 @@
+abstract class Logger %7B%0A%0A    public static final int ERR = 3;%0A    public static final int NOTICE = 5;%0A    public static final int DEBUG = 7;%0A    private int mask;%0A%0A    // The next element in the chain of responsibility%0A    private Logger next;%0A%0A    public Logger(int mask) %7B%0A        this.mask = mask;%0A    %7D%0A%0A    public Logger setNext(Logger l) %7B%0A        next = l;%0A        return l;%0A    %7D%0A%0A    public void message(String msg, int priority) %7B%0A        if (priority %3C= mask) %7B%0A            writeMessage(msg);%0A        %7D%0A        if (next != null) %7B%0A            next.message(msg, priority);%0A        %7D%0A    %7D%0A   %0A    abstract protected void writeMessage(String msg);%0A%0A%7D%0A

Create Logger.java