pub fn otel_logs_enabled() -> boolExpand description
Returns a boolean indicating if the OTEL log layer should be enabled.
It is considered enabled if any of the following environment variables are set and not empty:
OTEL_EXPORTER_OTLP_ENDPOINTOTEL_EXPORTER_OTLP_LOGS_ENDPOINT
Note that this is overridden if OTEL_SDK_DISABLED is set and not empty.