Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Functions
  • Comparing with other Yandex Cloud services
    • Overview
    • Managing dependencies
    • Request handler
    • Invocation context
    • Logging
    • Error handling
    • Using the SDK
  • Tools
  • Pricing policy
  • Access management
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
  • FAQ
  1. Developing in Kotlin
  2. Logging

Kotlin function execution logging

Written by
Yandex Cloud
Updated at July 2, 2026
View in Markdown

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.
  2. 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.

See alsoSee also

  • String formatting in the Kotlin docs
  • Viewing function logs

Was the article helpful?

Previous
Invocation context
Next
Error handling
© 2026 Direct Cursus Technology L.L.C.