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

import com.google.code.microlog4android.Logger;
import com.google.code.microlog4android.factory.DefaultRepositoryFactory;
import com.google.code.microlog4android.repository.LoggerRepository;

public class LoggerFactory {
    private static final LoggerRepository loggerRepository = DefaultRepositoryFactory.getDefaultLoggerRepository();

    public static Logger getLogger() {
        return loggerRepository.getRootLogger();
    }

    public static Logger getLogger(Class<?> class_) {
        if (class_ == null) {
            throw new IllegalArgumentException("The clazz must not be null.");
        }
        return LoggerFactory.getLogger(class_.getName());
    }

    public static Logger getLogger(String string2) {
        if (string2 == null) {
            throw new IllegalArgumentException("The Logger name must not be null.");
        }
        return loggerRepository.getLogger(string2);
    }

    public static LoggerRepository getLoggerRepository() {
        return loggerRepository;
    }

    public static void shutdown() {
        loggerRepository.shutdown();
    }
}

