From efb8d834e0db437e7faee004e456875f1a140f87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Wed, 27 Dec 2023 14:44:58 +0100 Subject: [PATCH] Fix Severity const --- log/record.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log/record.go b/log/record.go index ef082d9f7997..f4dccb37417a 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