log.warn
Log a warning-level event with any BAML value.
Reference version
Signature
function log.warn(data: unknown) -> void
Log a warning-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 930–994