You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to suppress logging certain fields in particular struct. This works fine with the Interface() call when the struct is used directly and the struct implements the LogObjectMarshaler interface. However, if the same type is included in another struct, then the LogObjectMarshaler is not called on the embedded object.
For illustration see this sample on the Go Playground.
The text was updated successfully, but these errors were encountered:
I would like to suppress logging certain fields in particular struct. This works fine with the
Interface()
call when the struct is used directly and the struct implements theLogObjectMarshaler
interface. However, if the same type is included in another struct, then theLogObjectMarshaler
is not called on the embedded object.For illustration see this sample on the Go Playground.
The text was updated successfully, but these errors were encountered: