Example Programs
The source repository contains example programs that you can compile and run interactively. Each program demonstrates the usage of various API features by reading console input from the user.
As you read through the examples, you may notice blocks of code surrounded by ANCHOR
tags.
// ANCHOR: logging
code that configures the logging ...
// ANCHOR_END: logging
We pull these code blocks from the example programs when we generate this guide. This ensures that all the snippets you encounter when reading the documentation are syntactically valid and up to date.
Links
The following links redirect to language-specific examples for the current version on Github: