def METHOD_NAME(command, params, status):
    prop = dict(
        command=command,
        status=status,
        upload=params.get('upload', False),
        share=params.get('share', False)
    )
    log_event(prop, 'usage', params=params)