Expand description
The process’s logs and traces: tracing events rendered as readable lines or, with
COMINDLY_LOG_FORMAT=json, one JSON object per line; spans sent over OTLP when configured.
Structs§
Functions§
- flush
- Sends what is queued for export; for when the process is about to exit.
- init
- Set up logging (and OTLP export when
OTEL_EXPORTER_OTLP_ENDPOINTis set) for this process, to stdout whenstdout, else stderr. Keep the guard until the process ends. - logs
- Whether lines of
kindare logged. - parse_
skip - A comma-separated list of kinds.
- set_
logs - Log or drop
kindfrom now on. - skipped
- The kinds not logged, comma-separated, as
COMINDLY_LOG_SKIPtakes them. - write
- Write one log line to the process’s log stream: stdout on a server, stderr elsewhere.