v1.2.0-rc1
Pre-release
Pre-release
This release has several bug fixes and feature improvements.
- logr: define an optional
logr.Marshaler
interface for types which want to control how they get logged - funcr: support
fmt.Stringer
anderror
interfaces on values which implement them - funcr: support logging complex{64,128}
- funcr: fix handling of typed nil when logging a struct via reflection
- funcr: add (optional) JSON output formatting mode
- funcr: better handling of Go's
json
struct tags (all except "string") - funcr: handle embedded types more like Go's
json
package - funcr: misc performance optimizations
- funcr: add support for modifying or remapping key/value pairs via hook functions
- funcr: optionally log the caller function name
- funcr: fix escaping of strings which contain special characters like line breaks or quotation marks
- funcr: support
encoding.TextMarshaler
for map keys - funcr: improved testing
- link to zerologr at its new location in the go-logr organization
- various documentation and
go doc
enhancements