com.alibaba.cola.logger.SLFJLogger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cola-core Show documentation
Show all versions of cola-core Show documentation
Cola framework core components
The newest version!
package com.alibaba.cola.logger;
public class SLFJLogger implements com.alibaba.cola.logger.Logger{
private org.slf4j.Logger slfjLogger;
public SLFJLogger(org.slf4j.Logger slfjLogger) {
this.slfjLogger = slfjLogger;
}
@Override
public void debug(String msg) {
slfjLogger.debug(msg);
}
@Override
public void info(String msg) {
slfjLogger.info(msg);
}
@Override
public void warn(String msg) {
slfjLogger.warn(msg);
}
@Override
public void error(String msg) {
slfjLogger.error(msg);
}
@Override
public void error(String msg, Throwable t) {
slfjLogger.error(msg, t);
}
}