Implementing using instrumentation for logging

This should address #145
Needs review