ihsanbal / LoggingInterceptor

An OkHttp interceptor which has pretty logger for request and response. +Mock support
MIT License
1.32k stars 110 forks source link

Lack of synchronization mechanism #24

Closed OneOfBillions closed 7 years ago

OneOfBillions commented 7 years ago

╚═══════════════════════════════════════════════════════════════════════════════════════ I/OkHttpNetEngine: ╔══════ Response ═══════════════════════════════════════════════════════════════════════ I/OkHttpNetEngine: ╔══════ Response ═══════════════════════════════════════════════════════════════════════ I/OkHttpNetEngine: ╔══════ Response ═══════════════════════════════════════════════════════════════════════ I/OkHttpNetEngine: ╔══════ Response ═══════════════════════════════════════════════════════════════════════ I/OkHttpNetEngine: ╔══════ Response ═══════════════════════════════════════════════════════════════════════ I/OkHttpNetEngine: ║ /api/Client/My - is success : true - Received in: 89ms I/OkHttpNetEngine: ║ /api/Client/ClientUser/My - is success : true - Received in: 111ms I/OkHttpNetEngine: ║ /api/Client/Message/GetUnReadCount - is success : true - Received in: 172ms I/OkHttpNetEngine: ║ I/OkHttpNetEngine: ║

ihsanbal commented 7 years ago

You can try to do this

https://github.com/ihsanbal/LoggingInterceptor#notes