Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Module( "sprout:logging", fx.Provide(func(logger *zap.Logger) logr.Logger { return zapr.NewLogger(logger) }), )
Module provides logging. It will initialize a logger based on the environment, such as using a pretty console logger in development mode.
Functions ¶
func CreateRootLogger ¶
CreateRootLogger creates the root logger of the application.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.