Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Named ¶
func Named(name string) *zap.SugaredLogger
Named adds a new path segment to the logger's name. Segments are joined by periods. By default, Loggers are unnamed.
func NewLogger ¶
func NewLogger(args ...*base.LoggerOption) *base.Logger
NewLogger return a *base.Logger by options
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.