From d2de463dea142ccc8e145746b65ce66bf4751ac1 Mon Sep 17 00:00:00 2001 From: Subhrajit Prusty Date: Wed, 12 Jun 2024 15:32:55 +0530 Subject: [PATCH] add: WithSensitive in interface --- log/slog/slogger.go | 1 + 1 file changed, 1 insertion(+) diff --git a/log/slog/slogger.go b/log/slog/slogger.go index f6e9ae1..26f0fd4 100644 --- a/log/slog/slogger.go +++ b/log/slog/slogger.go @@ -14,5 +14,6 @@ type Logger interface { Errorf(err error, format string, args ...any) WithTraceId(ctx context.Context) Logger WithFields(fields map[string]any) Logger + WithSensitive(bool) Logger SetSensitive(val bool) }