Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LoggerModule = fx.Options( fx.Provide(NewSugaredLogger), fx.Provide(NewLogger), )
Module provides the logger dependencies
Functions ¶
func NewConfig ¶
func NewConfig() (uber_config.Provider, error)
func NewSugaredLogger ¶
func NewSugaredLogger(provider config.Provider) (*zap.SugaredLogger, error)
NewSugaredLogger creates a new zap.SugaredLogger based on the configuration
Types ¶
Click to show internal directories.
Click to hide internal directories.