LoggingInterceptor(log: (String) -> Unit = ::println)
Request Logging Interceptor
Logs HTTP requests.
log -
log
function to consume log message
Sample Output: 2019-01-28T041742.885Z GET 200 - 1743ms https://postman-echo.com/get
Since 0.8.0
Author gokul