logger: add ability to pass option to skip some go types from logging #177

Open
opened 2023-01-27 11:35:20 +03:00 by vtolstov · 1 comment
vtolstov commented 2023-01-27 11:35:20 +03:00 (Migrated from github.com)
  • add logger.SkipTypes that receives slice with types
  • skip this types from logging

this is useful to skip logging []byte slice for example

* add logger.SkipTypes that receives slice with types * skip this types from logging this is useful to skip logging []byte slice for example
https://pkg.go.dev/golang.org/x/exp/slog#example-LogValuer-Secret
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: unistack-org/micro#177
No description provided.