kawamuray / wasmtime-java

Java or JVM-language binding for Wasmtime
Apache License 2.0
127 stars 29 forks source link

make the logger configurable #35

Open ImUrX opened 2 years ago

ImUrX commented 2 years ago

there are situations like mods for minecraft where we cant disable debug so the lib still logs in the java-side and makes the code run slower, is there any chance for making this configurable?

kawamuray commented 2 years ago

wasmtime-java uses Slf4j for all loggings so depending on which logger backend (log4j, logback, etc) is used in your application, you should be able to configure your backend to suppress logging from io.github.kawamuray.wasmtime package.