log

actual fun log(message: String)(source)
expect fun log(message: String)(source)

Logs a message that's included in the next fatal, non-fatal, or ANR report.

Logs are visible in the session view on the Firebase Crashlytics console.

Newline characters are stripped and extremely long messages are truncated. The maximum log size is 64k. If exceeded, the log rolls such that messages are removed, starting from the oldest.

Parameters

message

the message to be logged

actual fun log(message: String)(source)