[Yandex Cloud documentation](../../../index.md) > [Yandex Cloud Functions](../../index.md) > [Developing in Kotlin](index.md) > Logging

# Kotlin function execution logging

Cloud Functions automatically captures the application's standard output streams and sends them to the centralized logging system in Yandex Cloud. In addition to the application execution logs, the system also logs request execution events.

Additional messages are logged using standard language constructs:

1. `println`: Outputs a message to the standard output stream, `stdout`.
1. `System.err.println`: Outputs a message to the standard error stream, `stderr`.

{% note info %}

Multiline messages must use `\r` (carriage return) as a separator, not `\n` (line feed). When using a line feed, each line is sent as a separate message and displayed separately in the log.

{% endnote %}

## See also {#see-also}

* [String formatting in the Kotlin docs](https://kotlinlang.org/docs/strings.html#string-formatting)
* [Viewing function logs](../../operations/function/function-logs.md)