2021-05-13 23:48:51 +00:00
|
|
|
---
|
|
|
|
title: Text Reporting
|
|
|
|
---
|
|
|
|
|
|
|
|
The [text_reporting.py](https://github.com/allegroai/clearml/blob/master/examples/reporting/text_reporting.py) script
|
2024-08-05 07:12:18 +00:00
|
|
|
demonstrates reporting explicit text by calling [`Logger.report_text()`](../../references/sdk/logger.md#report_text).
|
2021-05-13 23:48:51 +00:00
|
|
|
|
2025-02-06 15:31:11 +00:00
|
|
|
ClearML reports the text in the **ClearML Web UI**, in the task's **CONSOLE** tab.
|
2021-05-13 23:48:51 +00:00
|
|
|
|
2025-02-06 15:31:11 +00:00
|
|
|
When the script runs, it creates a task named `text reporting` in the `examples` project.
|
2021-05-13 23:48:51 +00:00
|
|
|
|
2024-08-05 07:12:18 +00:00
|
|
|
```python
|
|
|
|
# report text
|
|
|
|
Logger.current_logger().report_text("hello, this is plain text")
|
|
|
|
```
|
2021-05-13 23:48:51 +00:00
|
|
|
|
|
|
|
![image](../../img/examples_reporting_text.png)
|