All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.slf4j.impl.LoggerImpl Maven / Gradle / Ivy
package org.slf4j.impl;
import com.firefly.utils.log.Log;
import org.slf4j.helpers.MarkerIgnoringBase;
public class LoggerImpl extends MarkerIgnoringBase {
private static final long serialVersionUID = 689005039688030280L;
private Log log;
public LoggerImpl(Log log) {
this.log = log;
}
@Override
public String getName() {
return log.getName();
}
@Override
public boolean isTraceEnabled() {
return log.isTraceEnabled();
}
@Override
public void trace(String msg) {
log.trace(msg);
}
@Override
public void trace(String format, Object arg) {
log.trace(format, arg);
}
@Override
public void trace(String format, Object arg1, Object arg2) {
log.trace(format, arg1, arg2);
}
@Override
public void trace(String format, Object... arguments) {
log.trace(format, arguments);
}
@Override
public void trace(String msg, Throwable t) {
log.trace(msg, t);
}
@Override
public boolean isDebugEnabled() {
return log.isDebugEnabled();
}
@Override
public void debug(String msg) {
log.debug(msg);
}
@Override
public void debug(String format, Object arg) {
log.debug(format, arg);
}
@Override
public void debug(String format, Object arg1, Object arg2) {
log.debug(format, arg1, arg2);
}
@Override
public void debug(String format, Object... arguments) {
log.debug(format, arguments);
}
@Override
public void debug(String msg, Throwable t) {
log.debug(msg, t);
}
@Override
public boolean isInfoEnabled() {
return log.isInfoEnabled();
}
@Override
public void info(String msg) {
log.info(msg);
}
@Override
public void info(String format, Object arg) {
log.info(format, arg);
}
@Override
public void info(String format, Object arg1, Object arg2) {
log.info(format, arg1, arg2);
}
@Override
public void info(String format, Object... arguments) {
log.info(format, arguments);
}
@Override
public void info(String msg, Throwable t) {
log.info(msg, t);
}
@Override
public boolean isWarnEnabled() {
return log.isWarnEnabled();
}
@Override
public void warn(String msg) {
log.warn(msg);
}
@Override
public void warn(String format, Object arg) {
log.warn(format, arg);
}
@Override
public void warn(String format, Object... arguments) {
log.warn(format, arguments);
}
@Override
public void warn(String format, Object arg1, Object arg2) {
if (arg1 instanceof Throwable) {
log.warn(format, (Throwable) arg1, arg2);
} else {
log.warn(format, arg1, arg2);
}
}
@Override
public void warn(String msg, Throwable t) {
log.warn(msg, t);
}
@Override
public boolean isErrorEnabled() {
return log.isErrorEnabled();
}
@Override
public void error(String msg) {
log.error(msg);
}
@Override
public void error(String format, Object arg) {
log.error(format, arg);
}
@Override
public void error(String format, Object arg1, Object arg2) {
if (arg1 instanceof Throwable) {
log.error(format, (Throwable) arg1, arg2);
} else {
log.error(format, arg1, arg2);
}
}
@Override
public void error(String format, Object... arguments) {
log.error(format, arguments);
}
@Override
public void error(String msg, Throwable t) {
log.error(msg, t);
}
}