log

abstract fun log(scope: Array<String>, level: Int, origin: String, timestampMicro: Long, isCached: Boolean, message: String)

Log a message.

Parameters

scope

Scope string array, must contain at least one element. This is usually converted to the android log tag.

level

Log level, one of the LOG_LEVEL_* constants.

origin

Origin string, usually the file name with the line number (e.g. "MyClass.java:123").

timestampMicro

Unix timestamp in microseconds.

isCached

If true, the log entry was already printed to logcat and should not be re-printed.

message

The log message.