From 4481918a2cf39834457a6949bc2f0d516b90a63d Mon Sep 17 00:00:00 2001 From: Mikael Bjerga Date: Fri, 28 Jul 2023 16:32:02 +0200 Subject: [PATCH] Legg til loggfelt --- .../main/kotlin/no/nav/helsearbeidsgiver/felles/utils/Log.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/felles/src/main/kotlin/no/nav/helsearbeidsgiver/felles/utils/Log.kt b/felles/src/main/kotlin/no/nav/helsearbeidsgiver/felles/utils/Log.kt index a27c2fbc4..65952e770 100644 --- a/felles/src/main/kotlin/no/nav/helsearbeidsgiver/felles/utils/Log.kt +++ b/felles/src/main/kotlin/no/nav/helsearbeidsgiver/felles/utils/Log.kt @@ -2,6 +2,7 @@ package no.nav.helsearbeidsgiver.felles.utils import no.nav.helsearbeidsgiver.felles.BehovType import no.nav.helsearbeidsgiver.felles.EventName +import no.nav.helsearbeidsgiver.felles.rapidsrivers.pritopic.Pri import java.util.UUID object Log { @@ -9,6 +10,8 @@ object Log { fun event(value: EventName) = "event" to value.name + fun priNotis(value: Pri.NotisType) = "pri_notis" to value.name + fun behov(value: BehovType) = "behov" to value.name fun transaksjonId(value: UUID) = "transaksjon_id" to value.toString()