From 4b8505680b10da78772b4f8b79fafb2354a5c31c Mon Sep 17 00:00:00 2001 From: alfred-mk Date: Fri, 17 Jan 2025 11:45:27 +0300 Subject: [PATCH] added logging --- store/vouchers.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/store/vouchers.go b/store/vouchers.go index ca8a75f..0569a60 100644 --- a/store/vouchers.go +++ b/store/vouchers.go @@ -6,10 +6,15 @@ import ( "math/big" "strings" + "git.defalsify.org/vise.git/logging" storedb "git.grassecon.net/grassrootseconomics/sarafu-vise/store/db" dataserviceapi "github.com/grassrootseconomics/ussd-data-service/pkg/api" ) +var ( + logg = logging.NewVanilla().WithDomain("vouchers").WithContextKey("SessionId") +) + // VoucherMetadata helps organize data fields type VoucherMetadata struct { Symbols string