Skip to content

Commit

Permalink
Add "MockWebServer" as a known logger (#6229)
Browse files Browse the repository at this point in the history
  • Loading branch information
russell-shizhen committed Aug 26, 2020
1 parent dbb2c34 commit 45010c5
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -63,6 +63,7 @@ object AndroidLog {
this[OkHttpClient::class.java.name] = "okhttp.OkHttpClient"
this[Http2::class.java.name] = "okhttp.Http2"
this[TaskRunner::class.java.name] = "okhttp.TaskRunner"
this["okhttp3.mockwebserver.MockWebServer"] = "okhttp.MockWebServer"
}.toMap()

internal fun androidLog(loggerName: String, logLevel: Int, message: String, t: Throwable?) {
Expand Down

0 comments on commit 45010c5

Please sign in to comment.