Skip to content

Commit

Permalink
[litnet] fix network logging (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
siper authored Jan 5, 2024
1 parent d08173a commit ac04860
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import io.ktor.client.request.*
import io.ktor.client.statement.*
import io.ktor.serialization.kotlinx.json.*
import kotlinx.serialization.json.Json
import ru.stersh.bookcrawler.NETWORK_LOG_LEVEL
import ru.stersh.bookcrawler.Properties
import ru.stersh.bookcrawler.core.Book
import ru.stersh.bookcrawler.core.BookId
Expand All @@ -34,7 +35,7 @@ object Litnet {
}
install(HttpSend)
install(Logging) {
level = LogLevel.ALL
level = NETWORK_LOG_LEVEL
}
defaultRequest {
url("https://api.litnet.com/v1/")
Expand Down

0 comments on commit ac04860

Please sign in to comment.