DebugLogger

class DebugLogger @JvmOverloads constructor(var minLevel: Logger.Level = Logger.Level.Debug) : Logger

A Logger implementation that writes to the platform's default logging mechanism.

NOTE: You should not enable this in release builds. Adding this to your image loader reduces performance. Additionally, this will log URLs which can contain personally identifiable information.

Constructors

Link copied to clipboard
constructor(minLevel: Logger.Level = Logger.Level.Debug)

Properties

Link copied to clipboard
open override var minLevel: Logger.Level

The minimum level for this logger to log.

Functions

Link copied to clipboard
open override fun log(tag: String, level: Logger.Level, message: String?, throwable: Throwable?)

Write message and/or throwable to a logging destination.