setEnabled

open fun setEnabled(isEnabled: Boolean)

Sets whether this logger is enabled. If enabled, all logs are printed to LogCat. If disabled, all logs are ignored.

Parameters

isEnabled

Prints all logs to LogCat if true, ignores all logs when false.