LogPretty

class LogPretty(mConfiguration: LogPretty.Configuration)(source)

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
}
}

Since

1.3.4

Constructors

Link copied to clipboard
private constructor(mConfiguration: LogPretty.Configuration)

Types

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
private val mConverter: Converter

Functions

Link copied to clipboard
private fun parseString(json: String): Any