Skip to content

Commit

Permalink
🌟 add HTML logging
Browse files Browse the repository at this point in the history
  • Loading branch information
theapache64 committed Apr 24, 2021
1 parent cfcf1af commit c6378c8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,9 @@ private constructor(
).build()

if (isLoggingEnabled) {
println("$TAG : GET --> $realUrl")
val sanitizedUrl = realUrl.replace(" ", "%20")
println("$TAG : GET --> $sanitizedUrl")
println("$TAG : GET (html) --> ${sanitizedUrl.replace("tqx=out:csv", "tqx=out:html")}")
}
val csvRequest = request.newBuilder()
.url(realUrl)
Expand Down

0 comments on commit c6378c8

Please sign in to comment.