Type Alias LogSink

LogSink: ((level: LogLevelName, message: string) => void)

Where echoed log lines go. The default writes through the matching console method; the CLI swaps in a sink that writes everything to stderr so stdout stays clean for data output.