rocker icon indicating copy to clipboard operation
rocker copied to clipboard

Fix #106 SLF4J unnecessary initialization

Open agentgt opened this issue 5 years ago • 0 comments

This was the easiest solution I could think of and is consistent with the existing paradigm of bootstrap config but has an assumption that logging will only be done in the RockerRuntime class.

A more sophisticated solution would be to use my gist and then have some sort of code checker to check for calls to LoggerFactory.getLogger() and error.

Without the code checker and the fact that logging is barely used I didn't deem it worth the effort to add the wrapper.

EDIT gist being: https://gist.github.com/agentgt/28dc6e9724cb8b96ca08fc147476a7de

agentgt avatar May 02 '19 22:05 agentgt