All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.odysz.module.xtable.Log4jWrapper Maven / Gradle / Ivy

There is a newer version: 1.5.3
Show newest version
package io.odysz.module.xtable;

/**FIXME this class must been removed.
 * @author ody
 *
 */
public class Log4jWrapper implements ILogger {
	protected boolean debug;

	public Log4jWrapper(String name) {
		// log = Logger.getLogger(name);
	}

	@Override
	public ILogger setDebugMode(boolean isDebug) {
		debug= isDebug;
		return this;
	}

	@Override
	public void e(String tag, String msg) {
		// log.error(String.format(" %s - %s", tag, msg));
	}

	@Override
	public void w(String tag, String msg) {
		// log.warn(String.format(" %s - %s", tag, msg));
	}

	@Override
	public void i(String tag, String msg) {
//		if (debug)
//			log.info(String.format(" %s - %s", tag, msg));
	}

	@Override
	public void d(String tag, String msg) {
//		if (debug)
//			log.debug(String.format(" %s - %s", tag, msg));
	}

	@Override
	public void v(String tag, String msg) {
//		if (debug)
//			log.debug(String.format(" %s - %s", tag, msg));
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy