getLogTag

open fun getLogTag(clazz: Class<out Any>): String

creates a log Tag for the given class. It is ensured that the Log tag does not exceeds the allowed maximum of 23 characters used by android.util.Log.isLoggable

Return

a log tag of maximum 23 characters.

Parameters

clazz

class name to create a log tag for


open fun getLogTag(name: String): String

creates a log Tag for the given class. It is ensured that the Log tag does not exceeds the allowed maximum of 23 characters used by android.util.Log.isLoggable

Return

a log tag of maximum 23 characters.

Parameters

name

class name to create a log tag for