package org.hibernate.internal;
import org.jboss.logging.Logger;
public class HEMLogging {
private HEMLogging() {
}
public static EntityManagerMessageLogger messageLogger(Class classNeedingLogging) {
return messageLogger( classNeedingLogging.getName() );
}
public static EntityManagerMessageLogger messageLogger(String loggerName) {
return Logger.getMessageLogger( EntityManagerMessageLogger .class, loggerName );
}
public static Logger logger(Class classNeedingLogging) {
return Logger.getLogger( classNeedingLogging );
}
public static Logger logger(String loggerName) {
return Logger.getLogger( loggerName );
}
}