/*
 * Decompiled with CFR 0_110.
 * 
 * Could not load the following classes:
 *  java.io.IOException
 *  java.lang.IllegalArgumentException
 *  java.lang.Object
 *  java.lang.String
 *  java.lang.Throwable
 */
package com.google.code.microlog4android.appender;

import com.google.code.microlog4android.Level;
import com.google.code.microlog4android.appender.Appender;
import com.google.code.microlog4android.format.Formatter;
import com.google.code.microlog4android.format.SimpleFormatter;
import java.io.IOException;

public abstract class AbstractAppender
implements Appender {
    protected Formatter formatter = new SimpleFormatter();
    protected boolean logOpen;

    @Override
    public abstract void clear();

    @Override
    public abstract void close() throws IOException;

    @Override
    public abstract void doLog(String var1, String var2, long var3, Level var5, Object var6, Throwable var7);

    @Override
    public final Formatter getFormatter() {
        return this.formatter;
    }

    @Override
    public boolean isLogOpen() {
        return this.logOpen;
    }

    @Override
    public abstract void open() throws IOException;

    @Override
    public final void setFormatter(Formatter formatter) throws IllegalArgumentException {
        if (formatter == null) {
            throw new IllegalArgumentException("The formatter must not be null.");
        }
        this.formatter = formatter;
    }
}

