Versions in this module Expand all Collapse all v0 v0.0.1 May 28, 2021 Changes in this version + func EncodeFieldInterface(enc zapcore.ObjectEncoder, field zap.Field) error + func HTTPECSMapper(field zap.Field, object *HTTPMarshalObject) + func IsNilValue(v interface{}) bool + func IsUnmarshalableValue(v interface{}) bool + type HTTPBodyMarshalObject struct + BodyContent string + Headers string + StatusCode string + type HTTPMarshalObject struct + Request *HTTPRequestMarshalObject + Response *HTTPResponseMarshalObject + type HTTPObject struct + func NestedObject(baseKey string, mapper func(zap.Field, *HTTPMarshalObject), ...) *HTTPObject + func (f *HTTPObject) AsField() zap.Field + func (f *HTTPObject) MarshalJSON() ([]byte, error) + func (f *HTTPObject) MarshalLogObject(enc zapcore.ObjectEncoder) error + type HTTPRequestMarshalObject struct + Body *HTTPBodyMarshalObject + RequestMethod string + RequestReferrer string + type HTTPResponseMarshalObject struct + Body *HTTPBodyMarshalObject + ResponseReferrer string + type Object struct + func AsObject(fields ...zap.Field) *Object + func (f *Object) MarshalLogObject(enc zapcore.ObjectEncoder) error