by eitland · 6y ago · 0 comments
I'd hesitate to stop the world in prod.
In prod, logging is usually the answer. (Or OS-level tools.)
On JVM (and I expect all other major platforms) you can tune logging at runtime so just leave the statements in as long as the don't compute anything.