Companion

Functions

Link copied to clipboard
@JvmStatic
fun checkDomain(domain: String?): String?

Checks a String for validity of use as a Logger.domain value. This provides a uniform standard for all Log implementations to rely on.

Link copied to clipboard
@JvmStatic
fun checkTag(tag: String?): String

Checks a String for validity of use as a Logger.tag value.

Link copied to clipboard
@JvmStatic
inline fun of(tag: String?): Log.Logger

Create a new Logger instance. If a Logger instance already exists for the provided tag and null domain, then that is returned instead.

@JvmStatic
fun of(tag: String?, domain: String?): Log.Logger

Create a new Logger instance. If a Logger instance already exists for the provided domain and tag, then that is returned instead.