onUnknownFinishReason top-level property

void Function(String line)? onUnknownFinishReason
getter/setter pair

The loud log for UNKNOWN finish_reasons (the #312 cataloguing hook): fires once per occurrence at mapping time with the raw reason so new vendor words can join the classification table. Null keeps it silent.

Implementation

void Function(String reason)? onUnknownFinishReason;