-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This adds a `zapcore.MarshalLogObject/Array` method to all generated structs and its underlying components, enums, and non-primitive typedefs, implementing Zap marshalers (i.e. [ObjectMarshaler](https://godoc.org/go.uber.org/zap/zapcore#ObjectMarshaler), [ArrayMarshaler](https://godoc.org/go.uber.org/zap/zapcore#ArrayMarshaler)). For typedefs of primitives, the logging is up to the user, simply by casting it down to the root type and using the respective `Add/Append...` method of the Zap encoder.
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.