crossbario / autobahn-java

WebSocket & WAMP in Java for Android and Java 8
https://crossbar.io/autobahn
MIT License
1.52k stars 426 forks source link

enable debug log at runtime #516

Closed cyrushine closed 3 years ago

cyrushine commented 3 years ago

It's nice to enable debug log at runtime instead of building library from source, like most library do

oberstet commented 3 years ago

I'm not sure, but "static final" should enable the compiler to statically remove the logging code from the built library. if that is true, I would prefer a static flag and no run-time activation - that is, keep things as they are ..