opentelemetry-php-contrib
opentelemetry-php-contrib copied to clipboard
Restrict trace events to correct log level
We noticed during testing that debug messages were appearing as events in our traces.
This change only adds events if the level would be handled by the logger - i.e. the level is at least the same as the defined minimum log level.