
net.vidageek.i18n.el.log.DefaultLoggerWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of i18n Show documentation
Show all versions of i18n Show documentation
Simple way to work with i18n on java web applications
The newest version!
package net.vidageek.i18n.el.log;
import org.apache.log4j.Logger;
/**
* @author jonasabreu
*
*/
final public class DefaultLoggerWrapper implements LoggerWrapper {
private final Logger logger;
public DefaultLoggerWrapper(final Class> type) {
logger = Logger.getLogger(type);
}
public void warn(final String message, final Throwable t) {
logger.warn(message, t);
}
public void warn(final String message) {
logger.warn(message);
}
public void debug(final String message) {
logger.debug(message);
}
public void fatal(final String message) {
logger.fatal(message);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy