org.infinispan.commons.logging.LogFactory Maven / Gradle / Ivy
The newest version!
package org.infinispan.commons.logging;
import org.jboss.logging.Logger;
/**
* Factory that creates {@link Log} instances.
*
* @author Manik Surtani
* @since 4.0
*/
public class LogFactory {
public static Log getLog(Class> clazz) {
return Logger.getMessageLogger(Log.class, clazz.getName());
}
public static T getLog(Class> clazz, Class logClass) {
return Logger.getMessageLogger(logClass, clazz.getName());
}
}