diff --git a/log/record.go b/log/record.go index ef082d9f799..f4dccb37417 100644 --- a/log/record.go +++ b/log/record.go @@ -31,7 +31,7 @@ type Severity int // Severity values defined by OpenTelemetry. const ( // A fine-grained debugging log record. Typically disabled in default configurations. - SeverityTrace Severity = 1 + SeverityTrace Severity = iota + 1 SeverityTrace2 SeverityTrace3 SeverityTrace4