Optional logger for instrumenting calls.
Env variables for turning on logging as well as response logging.