
cn.featherfly.common.logging.Slf4jLoggerFactory Maven / Gradle / Ivy
package cn.featherfly.common.logging;
/**
*
* LoggerSlf4jFactory
*
*
* @author 钟冀
* @version 1.3
* @since 1.3
*/
public class Slf4jLoggerFactory implements LoggerFactory{
/**
* {@inheritDoc}
*/
@Override
public Logger getLogger(String name) {
return new Slf4jLoggerProxy(org.slf4j.LoggerFactory.getLogger(name));
}
/**
* {@inheritDoc}
*/
@Override
public Logger getLogger(Class> clazz) {
return new Slf4jLoggerProxy(org.slf4j.LoggerFactory.getLogger(clazz));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy