Skip to content

Commit 3557ca9

Browse files
committed
Fix ruff
1 parent 5645743 commit 3557ca9

File tree

1 file changed

+3
-3
lines changed
  • opentelemetry-sdk/src/opentelemetry/sdk/_logs/_internal

1 file changed

+3
-3
lines changed

opentelemetry-sdk/src/opentelemetry/sdk/_logs/_internal/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -959,9 +959,9 @@ def should_drop_logs_for_unsampled_trace(
959959
) -> bool:
960960
"""
961961
Determines whether the logger should only process log records associated with sampled traces.
962-
If not explicitly set, the `trace_based` parameter is set to `false`. If `trace_based` is `true`, log records associated with unsampled traces
963-
are dropped by the `Logger`. A log record is considered associated with an unsampled trace if it has a valid `SpanId` and its `TraceFlags` indicate
964-
that the trace is unsampled. A log record that isn't associated with a trace context is not affected by this parameter and therefore bypasses
962+
If not explicitly set, the `trace_based` parameter is set to `false`. If `trace_based` is `true`, log records associated with unsampled traces
963+
are dropped by the `Logger`. A log record is considered associated with an unsampled trace if it has a valid `SpanId` and its `TraceFlags` indicate
964+
that the trace is unsampled. A log record that isn't associated with a trace context is not affected by this parameter and therefore bypasses
965965
trace-based filtering.
966966
"""
967967
if trace_based:

0 commit comments

Comments
 (0)