# tf_agents.metrics.export_utils.export_metrics

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/metrics/export_utils.py#L21-L37) |

Exports the metrics and loss information to logging.info.

    tf_agents.metrics.export_utils.export_metrics(
        step, metrics, loss_info=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `step` | Integer denoting the round at which we log the metrics. |
| `metrics` | List of `TF metrics` to log. |
| `loss_info` | An optional instance of `LossInfo` whose value is logged. |

<br />