EventProcessingLogger

internal class EventProcessingLogger(logger: <Error class: unknown class>, event: Event, startOfProcessing: <Error class: unknown class>)

The EventProcessingLogger class is responsible for logging event processing details.

Constructors

Link copied to clipboard
constructor(logger: <Error class: unknown class>, event: Event, startOfProcessing: <Error class: unknown class>)

Functions

Link copied to clipboard
fun logComplete(status: EventLoggingStatus, extraInfo: Array<out <Error class: unknown class><String, Any>> = arrayOf()): <Error class: unknown class>

Logs event processing. Will use the difference between the current system time and startOfProcessing to log performance data. Underlying implementation detail is using the common KaliumLogger.logStructuredJson to log structured JSON.

Link copied to clipboard
fun logFailure(failure: CoreFailure? = 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.

Link copied to clipboard
fun logSuccess(vararg extraInfo: <Error class: unknown class><String, Any>)

Logs the event processing as successful. Will use the difference between the current system time and startOfProcessing to log performance data.