Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JsonEncoderConfig ¶
func JsonEncoderConfig() zapcore.EncoderConfig
JsonEncoderConfig returns an opinionated EncoderConfig
func RemoveIndex ¶
RemoveIndex takes a slice or an array and remove the element designated by the index
func TextEncoderConfig ¶
func TextEncoderConfig() zapcore.EncoderConfig
TextEncoderConfig returns an opinionated EncoderConfig
Types ¶
type ConfigFlag ¶
type ConfigFlag struct {
// contains filtered or unexported fields
}
func (ConfigFlag) Set ¶
func (f ConfigFlag) Set(flagValue string) error
func (ConfigFlag) String ¶
func (f ConfigFlag) String() string
type OutputFormatFlag ¶
OutputFormatFlag contains structure for managing zap encoding
func (*OutputFormatFlag) Set ¶
func (o *OutputFormatFlag) Set(flagValue string) error
func (*OutputFormatFlag) String ¶
func (o *OutputFormatFlag) String() string
Click to show internal directories.
Click to hide internal directories.