For example it is used here,
def _log_api_usage(identifier: str):
    """
    Internal function used to log the usage of different detectron2 components
    inside facebook's infra.
    """
    torch._C._log_api_usage_once("detectron2." + identifier)

But why would I need to log these and where does it log and  what is the usage of these logs?