org.infinispan.hotrod.impl.logging.LogFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-hotrod-jakarta Show documentation
Show all versions of infinispan-hotrod-jakarta Show documentation
Infinispan Hot Rod Client Jakarta EE
The newest version!
package org.infinispan.hotrod.impl.logging;
import org.jboss.logging.Logger;
/**
* Factory that creates {@link Log} instances.
*
* @since 14.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());
}
}