def METHOD_NAME(
        method_name: str,
        result: 'CBSDStateResult',  # noqa: F821
        cbsd: 'DBCbsd',  # noqa: F821
        serial_number: str,
):
    fcc_id, network_id, _ = get_cbsd_basic_params(cbsd)
    return DPLog(
        event_timestamp=now(),
        log_from='DP',
        log_to='CBSD',
        log_name=method_name + 'Response',
        log_message=str(result),
        cbsd_serial_number=str(serial_number),
        network_id=str(network_id),
        fcc_id=str(fcc_id),
    )