Skip to content

Commit

Permalink
add: WithSensitive in interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Subhrajit Prusty committed Jun 12, 2024
1 parent aa2f1c0 commit d2de463
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions log/slog/slogger.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit d2de463

Please sign in to comment.