logFailure
fun logFailure(failure: <Error class: unknown class>? = null, vararg extraInfo: <Error class: unknown class><String, Any>)
Logs the event processing as failed. Will use the difference between the current system time and startOfProcessing to log performance data.