LogCatLogger

Logger that logs all messages to LogCat.

See also

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun isLogged(priority: Int, @NonNull tag: String): Boolean
Override this method to enable or disable logging for log with given priority and tag.
Link copied to clipboard
open fun log(priority: Int, @NonNull tag: String, @NonNull message: String, @Nullable throwable: Throwable)
Implement this method to log messages.
Link copied to clipboard
open fun setEnabled(isEnabled: Boolean)
Sets whether this logger is enabled.