Standalone examples#

Use these focused examples when you need one runnable library pattern.

Example

Purpose

Languages

C Hello World

Report a message through the public C logging API.

C

C++ Hello World

Report a message through the public C++ logging API.

C++

C++ with Python Hello World

Call the public C++ logging API through an example-local Python extension.

C++, Python

Python Hello World

Report a message through the public Python logging API.

Python

C++ with Python JSON Pipeline

Build JSON in C++ and select a value from Python.

C++, Python