private static void writeLogs(
      final TransactionReceipt receipt,
      final RLPOutput rlpOutput,
      final TransactionReceiptEncodingConfiguration options) {
    rlpOutput.writeList(
        receipt.getLogsList(),
        (log, logOutput) -> log.writeTo(logOutput, options.isWithCompactedLogs()));
  }
Writes the logs of the transaction receipt to the output.

@param receipt the transaction receipt
@param rlpOutput the RLP output
@param options the encoding options
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/core/encoding/receipt/TransactionReceiptEncoder.java