opentelemetry-ruby icon indicating copy to clipboard operation
opentelemetry-ruby copied to clipboard

feat: Update Logger#on_emit to create LogRecords

Open kaylareopelle opened this issue 5 months ago • 1 comments

This PR creates a LogRecord class that is read/writeable to start with, and becomes read-only when it transitions to LogRecordData.

Additionally, it provides the SDK implementation of the Logs Bridge API Logger#on_emit method to emit LogRecords to the processing pipeline.

Relates to the following specs:

Resolves: https://github.com/open-telemetry/opentelemetry-ruby/issues/1484

kaylareopelle avatar Mar 05 '24 20:03 kaylareopelle