DebugLogger

class DebugLogger @JvmOverloads() constructor(level: Int) : Logger

A Logger implementation that writes to Android's Log.

NOTE: You should not enable this in release builds. Adding this to your ImageLoader reduces performance. Additionally, this will log URLs which can contain PII.

Constructors

DebugLogger
Link copied to clipboard
fun DebugLogger(level: Int = Log.DEBUG)

Functions

log
Link copied to clipboard
open override fun log(tag: String, priority: Int, message: String?, throwable: Throwable?)
Write message and/or throwable to a logging destination.

Properties

level
Link copied to clipboard
open override var level: Int
The minimum level for this logger to log.