log.error

Log an error-level event with any BAML value.

Reference version

Signature

function log.error(data: unknown) -> void

Log an error-level event with any BAML value.

The value is emitted unchanged as the log event's data. Pass a map for structured fields, or pass a string, number, bool, list, class instance, enum variant, or null to inspect that value directly.

Source:<builtin>/log/log.bamlbytes 12621327