Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FxLogger = fx.WithLogger(func(logger logger.Logger) fxevent.Logger { return NewCustomFxLogger(logger) }, )
Functions ¶
Types ¶
type FxCustomLogger ¶
func (*FxCustomLogger) LogEvent ¶
func (l *FxCustomLogger) LogEvent(event fxevent.Event)
LogEvent logs the given event to the provided Zap logger.
func (FxCustomLogger) Printf ¶
func (l FxCustomLogger) Printf(str string, args ...interface{})
Printf prits go-fxlog logs
Click to show internal directories.
Click to hide internal directories.