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

com.googlecode.mycontainer.util.log.Slf4jLog Maven / Gradle / Ivy

package com.googlecode.mycontainer.util.log;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Slf4jLog extends Log {

	private final Logger logger;

	public Slf4jLog(String name) {
		this.logger = LoggerFactory.getLogger(name);
	}

	@Override
	public void error(String msg) {
		logger.error(msg);
	}

	@Override
	public void error(String msg, Throwable e) {
		logger.error(msg, e);
	}

	@Override
	public void info(String msg) {
		logger.info(msg);
	}

	@Override
	public void info(String msg, Throwable e) {
		logger.info(msg, e);
	}

	@Override
	public void debug(String msg) {
		logger.debug(msg);
	}

	@Override
	public void debug(String msg, Throwable e) {
		logger.debug(msg, e);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy