Skip to content

Commit ca91c40

Browse files
authored
Use proper call to Logger#getMessageLogger (#168)
1 parent 873e246 commit ca91c40

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

runtime/src/main/java/io/quarkiverse/ironjacamar/runtime/QuarkusIronJacamarLogger.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
package io.quarkiverse.ironjacamar.runtime;
22

3-
import static org.jboss.logging.Logger.Level.*;
3+
import static org.jboss.logging.Logger.Level.INFO;
4+
import static org.jboss.logging.Logger.Level.WARN;
45

6+
import java.lang.invoke.MethodHandles;
57
import java.util.Set;
68

79
import jakarta.enterprise.inject.spi.DeploymentException;
@@ -27,7 +29,8 @@ public interface QuarkusIronJacamarLogger extends BasicLogger {
2729
/**
2830
* A logger with the category {@code io.quarkiverse.ironjacamar.runtime}.
2931
*/
30-
QuarkusIronJacamarLogger log = Logger.getMessageLogger(QuarkusIronJacamarLogger.class,
32+
QuarkusIronJacamarLogger log = Logger.getMessageLogger(MethodHandles.lookup(),
33+
QuarkusIronJacamarLogger.class,
3134
QuarkusIronJacamarLogger.class.getPackageName());
3235

3336
/**

0 commit comments

Comments
 (0)