hotwired / turbo-android

Android framework for making Turbo native apps
MIT License
424 stars 50 forks source link

Improve how a TurboVisitResponse is logged #283

Closed jayohms closed 1 year ago

jayohms commented 1 year ago

Addresses https://github.com/hotwired/turbo-android/pull/264 by truncating the middle of the html response so it's still clear what type of response was received and adding the response length.

The log output now looks like:

TurboVisitResponse(statusCode=200, responseHTML=<!DOCTYPE html><html lang [...] r> </main> </body></html>, responseLength=3036)