.. _events-api:

Events
============================

.. automodule:: torch.distributed.elastic.events

API Methods
------------

.. autofunction:: torch.distributed.elastic.events.record

.. autofunction:: torch.distributed.elastic.events.get_logging_handler

Event Objects
-----------------

.. currentmodule:: torch.distributed.elastic.events.api

.. autoclass:: torch.distributed.elastic.events.api.Event

.. autoclass:: torch.distributed.elastic.events.api.EventSource

.. autoclass:: torch.distributed.elastic.events.api.EventMetadataValue
