Allow usage of Logger objects (as in gunicorn) for logging.