webit.script.loggers.Logger Maven / Gradle / Ivy
// Copyright (c) 2013, Webit Team. All Rights Reserved.
package webit.script.loggers;
/**
*
* @author zqq90
*/
public interface Logger {
public static final String DEFAULT_NAME = "webit_script";
public boolean isTraceEnabled();
public void trace(String msg);
public void trace(String format, Object... arguments);
public void trace(String msg, Throwable t);
public boolean isDebugEnabled();
public void debug(String msg);
public void debug(String format, Object... arguments);
public void debug(String msg, Throwable t);
public boolean isInfoEnabled();
public void info(String msg);
public void info(String format, Object... arguments);
public void info(String msg, Throwable t);
public boolean isWarnEnabled();
public void warn(String msg);
public void warn(String format, Object... arguments);
public void warn(String msg, Throwable t);
public boolean isErrorEnabled();
public void error(String msg);
public void error(String format, Object... arguments);
public void error(String msg, Throwable t);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy