Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New create a sugared zap logger
level can be: "disable", "panic", "fatal", "error", "warn", "info", "debug", "trace"
func NewWithConfig ¶
func NewWithConfig(config *log.LoggerConfig, opts ...Opt) log.Logger
NewWithConfig create a sugared zap sugared logger
level can be: "disable", "panic", "fatal", "error", "warn", "info", "debug", "trace"
func NewWithConfigSimple ¶
func NewWithConfigSimple(config *log.LoggerConfig) log.Logger
NewWithConfigSimple create a sugared zap sugared logger
Types ¶
Click to show internal directories.
Click to hide internal directories.