public void logControlResponse(final DirectBuffer buffer, final int offset, final int length)
    {
        log(CMD_OUT_RESPONSE, buffer, offset, length);
    }
@Test
    void logControlResponse()
    {
        final int offset = 4;
        final int length = 64;
        srcBuffer.setMemory(0, offset, (byte)255);
        srcBuffer.setMemory(offset, length, (byte)1);
        final int recordOffset = HEADER_LENGTH * 5;
        logBuffer.putLong(CAPACITY + TAIL_POSITION_OFFSET, recordOffset);

        logger.logControlResponse(srcBuffer, offset, length);

        verifyLogHeader(logBuffer, recordOffset, CMD_OUT_RESPONSE.toEventCodeId(), length, length);
        for (int i = 0; i < length; i++)
        {
            assertEquals((byte)1, logBuffer.getByte(encodedMsgOffset(recordOffset + LOG_HEADER_LENGTH + i)));
        }
    }