Change how logging is handled. You can set your own implementation that forwards to your logging library.