com.alibaba.dubbo.common.logger.jcl.JclLoggerAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dubbo Show documentation
Show all versions of dubbo Show documentation
Dubbo is a distributed service framework enpowers applications with service import/export capability with high performance RPC.
package com.alibaba.dubbo.common.logger.jcl;
import java.io.File;
import org.apache.commons.logging.LogFactory;
import com.alibaba.dubbo.common.logger.Level;
import com.alibaba.dubbo.common.logger.Logger;
import com.alibaba.dubbo.common.logger.LoggerAdapter;
public class JclLoggerAdapter implements LoggerAdapter {
public Logger getLogger(String key) {
return new JclLogger(LogFactory.getLog(key));
}
public Logger getLogger(Class> key) {
return new JclLogger(LogFactory.getLog(key));
}
private Level level;
private File file;
public void setLevel(Level level) {
this.level = level;
}
public Level getLevel() {
return level;
}
public File getFile() {
return file;
}
public void setFile(File file) {
this.file = file;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy