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

com.jpattern.service.log.slf4j.Slf4jLog4jLoggerServiceBuilder Maven / Gradle / Ivy

The newest version!
package com.jpattern.service.log.slf4j;

import com.jpattern.core.IServiceBuilder;
import com.jpattern.service.log.ILoggerService;
import com.jpattern.service.log.NullLoggerServiceBuilder;

/**
 * 
 * @author Francesco Cina'
 *
 * 4 Mar 2011
 */
public class Slf4jLog4jLoggerServiceBuilder extends ASlf4jLoggerServiceBuilder {

	private static final long serialVersionUID = 1L;
	
	public Slf4jLog4jLoggerServiceBuilder(String configFile) {
		this(new NullLoggerServiceBuilder(), configFile);
	}
	
	public Slf4jLog4jLoggerServiceBuilder(IServiceBuilder loggerServiceBuilder, String configFile) {
		super(loggerServiceBuilder, new Log4jLoggerBackendConfigurator(configFile));
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy