You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
9 months ago | |
|---|---|---|
| .. | ||
| BUILD | 9 months ago | |
| CMakeLists.txt | 9 months ago | |
| README.md | 9 months ago | |
| main.cc | 9 months ago | |
README.md
Simple Logs Example
In this example, the application in main.cc initializes an
OStreamLogRecordExporter instance and registers a logger
provider, as well as initializes a StdoutSpanExporter instance and registers a
tracer provider from the OpenTelemetry C++
SDK.
The application then calls into
logs_foo_library
which has been instrumented using the OpenTelemetry Logs
API. Resulting logs and traces
are directed to stdout.
See CONTRIBUTING.md for instructions on building and running the example.