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

org.infinispan.commons.logging.BasicLogFactory Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
package org.infinispan.commons.logging;

import org.jboss.logging.BasicLogger;
import org.jboss.logging.Logger;

/**
 * Factory that creates {@link Log} instances.
 *
 * @author Manik Surtani
 * @since 4.0
 */
public class BasicLogFactory {

   public static BasicLogger getLog(Class clazz) {
      return Logger.getLogger(clazz.getName());
   }

   public static  T getLog(Class clazz, Class logClass) {
      return Logger.getMessageLogger(logClass, clazz.getName());
   }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy