Tweaked logging not to waste cycles when logging level is not DEBUG or TRACE.
Logger can now be accessed by resolving an org.slf4j.Logger interface through the ServiceLocator.