e

fun e(message: String, vararg fields: Pair<String, Any?>)

Log a structured message at ERROR level.

Since

1.0.0

Parameters

message

The log message.

fields

Key-value pairs to attach to this log entry.


fun e(t: Throwable, message: String, vararg fields: Pair<String, Any?>)

Log a structured message at ERROR level with a Throwable.

Since

1.0.0

Parameters

t

The throwable to log.

message

The log message.

fields

Key-value pairs to attach to this log entry.