> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Write output

CRMScript can display data in different ways:

## Print a string to the screen (standard output)

* print()
* printLine()

The difference between these functions is that with `print()` you must add lineending `\n` where applicable yourself.

```crmscript! theme={null}
print("To boldly go\n");
print("where" + " no one");
printLine(" has gone before");
print("\n\tJean-Luc Picard\n");
```

## Log

* log() will write the message to the log in the database.
* logMessage() will write the message to the log file.

## Debug

* printDebug() will add the input to the debug string, which will be shown in the Debug window.

You will learn more about debugging and logs later.


## Related topics

- [suggesteddocument](/en/api/mdo-providers/reference/suggesteddocument.md)
- [EventData](/en/automation/crmscript/datatypes/eventdata-type.md)
- [Configure Serilog](/en/onsite/logging/configure-serilog.md)
- [Get Output From Batch](/en/api/reference/restful/agent/blob_agent/get-output-from-batch.md)
- [How to write a great tutorial](/contribute/how-to-write-tutorials.md)
- [Structured aggregation output with GroupBy](/en/api/archive-providers/aggregate-groupby.md)
