Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Module("logging", fx.Provide(NewZapLogger))
Functions ¶
func NewZapLogger ¶
func NewZapLogger(config Configuration) (*zap.Logger, error)
Types ¶
type Configuration ¶
type Configuration struct {
Development bool `hcl:"development"`
}
Click to show internal directories.
Click to hide internal directories.