RecordingLogSink
A StructuredLogSink that records every line KenworkLogger emits, attributes included, so tests can assert on logging (e.g. that nothing sensitive is logged). Prefer withRecordedLogs, which installs one and restores the previous logger state afterwards.