brazelog
fun Any.brazelog(priority: BrazeLogger.Priority = D, tr: Throwable? = null, skipSdkDebug: Boolean = false, message: () -> String)
Sends a log message from a class.
Parameters
priority
The Log priority of the message. Defaults to DEBUG
tr
An exception to log
skip Sdk Debug
If true, the SDK debugger callback will not be invoked.
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, skipSdkDebug: Boolean = false, 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
skip Sdk Debug
If true, the SDK debugger callback will not be invoked.
message
A message function that will be selectively invoked based on the log level.