brazelog
Sends a log message from a class.
Parameters
priority
The Log priority of the message. Defaults to DEBUG
tr
An exception to log
message
A message function that will be selectively invoked based on the log level.
fun brazelog(tag: String, priority: BrazeLogger.Priority = D, tr: Throwable? = null, message: () -> String)
Sends a log message outside of a class (or to specify a tag explicitly). Tag should also be specified when using within a coroutine.
Parameters
tag
Used to identify the source of a log message.
priority
The Log priority of the message. Defaults to DEBUG
tr
An exception to log
message
A message function that will be selectively invoked based on the log level.