Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Module("logrousfx", fx.Provide( fx.Annotate( NewLogrusLogger, fx.As(new(logger.Logger)), ), config.ProvideLogConfig, ))
Module provided to fxlog https://uber-go.github.io/fx/modules.html
Functions ¶
func NewLogrusLogger ¶
func NewLogrusLogger( cfg *config2.LogOptions, env environment.Environment, ) logger.Logger
NewLogrusLogger creates a new logrus logger
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.