log

protected open override fun log(level: Log.Level, domain: String?, tag: String, msg: String?, t: Throwable?): Boolean(source)

Log something.

Guarantees:

  • level will be between min and max (inclusive).

  • domain will be null, or in compliance with parameters specified by Logger.checkDomain.

  • tag will be in compliance with parameters specified by Logger.checkTag.

  • msg and t will never both be null.

  • msg will be null or a non-empty value, never empty.

  • isLoggable will have returned true immediately prior to this function being called by Root.

Return

true if a log was generated, false otherwise.