DittoLog

object DittoLog

Main singleton (global instance) to use / call into ditto_log and thus our logging API.

It is expected to be an internal one, although it cannot be marked as such since it is used by other packages (e.g., ditto, androidtransports).

Tweaking its behavior, however (custom log cb, log file, log level, etc.), is intended to be public / customer facing. That part is thus defined as being part of ditto (our current public-facing package), as the DittoLogging singleton.

See android/ditto/src/main/kotlin/live.ditto/DittoLogging.kt.

Functions

d
Link copied to clipboard
fun d(tag: String, obj: Any, error: Throwable? = null)
e
Link copied to clipboard
fun e(tag: String, obj: Any, error: Throwable? = null)
i
Link copied to clipboard
fun i(tag: String, obj: Any, error: Throwable? = null)
v
Link copied to clipboard
fun v(tag: String, obj: Any, error: Throwable? = null)
w
Link copied to clipboard
fun w(tag: String, obj: Any, error: Throwable? = null)

Properties

logDecorator
Link copied to clipboard
var logDecorator: DittoLogDecorator