Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Logger = fx.WithLogger(func(logger *slog.Logger) fxevent.Logger { return &SlogLogger{Logger: logger} }) )
Functions ¶
This section is empty.
Types ¶
type SlogLogger ¶
func (*SlogLogger) LogEvent ¶
func (l *SlogLogger) LogEvent(event fxevent.Event)
LogEvent logs the given event to the provided structured-log logger.
func (SlogLogger) String ¶
func (SlogLogger) String() string
Click to show internal directories.
Click to hide internal directories.