PrintLogger

A LogcatLogger that always logs and delegates to println concatenating the tag and message, separated by a space. Alternative to AndroidLogcatLogger when running on a JVM.

Functions

Link copied to clipboard
open fun isLoggable(priority: LogPriority): Boolean

Whether a log with the provided priority should be logged and the corresponding message providing lambda evaluated. Called by logcat.

Link copied to clipboard
open override fun log(priority: LogPriority, tag: String, message: String)

Write a log to its destination. Called by logcat.