shouldReportAsException

fun shouldReportAsException(severity: Severity, throwable: Throwable?): Boolean(source)

Whether a log line should become a Crashlytics non-fatal.

A log below Severity.Error is never reported by either sink, so warn-level logging remains the simplest way to record an expected condition without reporting it.

The two sinks deliberately differ on CancellationException — see shouldDowngradeForDatadog.