From f9bc38050e14a5ff69ac2fb0d80dd0704296566e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Wed, 4 Dec 2024 15:14:52 +0100 Subject: [PATCH] Add EventName EnabledParameters --- log/logger.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/log/logger.go b/log/logger.go index 0773a49b608..4c3e18a0dd8 100644 --- a/log/logger.go +++ b/log/logger.go @@ -138,5 +138,6 @@ func WithSchemaURL(schemaURL string) LoggerOption { // EnabledParameters represents payload for [Logger]'s Enabled method. type EnabledParameters struct { - Severity Severity + EventName string + Severity Severity }