Kotlin function execution logging
Written by
Updated at July 2, 2026
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:
println: Outputs a message to the standard output stream,stdout.System.err.println: Outputs a message to the standard error stream,stderr.
Note
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.