LogPretty
LogPretty allows printing the json string in the log in pretty style.
private val gsonConverter = GsonConverter.getInstance(true)
@JvmField
val logFactory: LogFactory = getLogFactory {
....
install(LogPretty) {
converter = gsonConverter
}
}
Content copied to clipboard
Since
1.3.4