}
if (loggerClass == null) try {
loggerClass = Class.forName(join(type.getName(), "$logger", null, null, null), true, type.getClassLoader()).asSubclass(type);
} catch (ClassNotFoundException e) {
//warn("Generating proxy for type-safe logger " + type + ". You should generate a concrete implementation using the jboss-logging-tools annotation processor before deploying to production!!");
return type.cast(Proxy.newProxyInstance(type.getClassLoader(), new Class<?>[] { type }, new MessageLoggerInvocationHandler(type, category)));
}
final Constructor<? extends T> constructor;
try {
constructor = loggerClass.getConstructor(Logger.class);