Documentation ¶
Index ¶
Constants ¶
View Source
const KEY = "zapLogger"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
func NewLogger ¶
func NewLogger(conf *config.AtomicAllConfig) (*Logger, func())
func (*Logger) NewContext ¶
NewContext Adds a field to the specified context
func (*Logger) WithContext ¶
WithContext Returns a zap instance from the specified context
Click to show internal directories.
Click to hide internal directories.