All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.slf4j.impl.LoggerFactoryImpl Maven / Gradle / Ivy

package org.slf4j.impl;

import org.slf4j.ILoggerFactory;
import org.slf4j.Logger;

/**
 * @author Samuel Grenier
 */
public class LoggerFactoryImpl implements ILoggerFactory {

    private Level logLevel = Level.INFO;

    public void setLogLevel(Level level) {
        this.logLevel = level;
    }

    public Level getLogLevel() {
        return logLevel;
    }

    @Override
    public Logger getLogger(String name) {
        return new LoggerImpl(this, name);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy