rocker
rocker copied to clipboard
Fix #106 SLF4J unnecessary initialization
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