def METHOD_NAME(self, fl_ctx: FLContext, shareable: Shareable, record_origin: str):
    dxo = from_shareable(shareable)
    data = AnalyticsData.from_dxo(dxo, receiver=LogWriterName.WANDB)
    if not data:
        return
    q: Optional[Queue] = self.get_job_queue(record_origin)
    if q:
        if data.data_type == AnalyticsDataType.PARAMETER or data.data_type == AnalyticsDataType.METRIC:
            log_data = {data.tag: data.value}
            q.put(WandBTask(task_owner=record_origin, task_type="log", task_data=log_data, step=data.step))
        elif data.data_type == AnalyticsDataType.PARAMETERS or data.data_type == AnalyticsDataType.METRICS:
            q.put(WandBTask(task_owner=record_origin, task_type="log", task_data=data.value, step=data.step))