package fxlog
Import Path
go.uber.org/fx/internal/fxlog (on go.dev)
Dependency Relation
imports 4 packages, and imported by one package
Package-Level Type Names (total 2)
Events is a list of events captured by fxlog.Spy.
Len returns the number of events in this list.
SelectByTypeName returns a new list with only events matching the specified
type.
func Events.SelectByTypeName(name string) Events
func (*Spy).Events() Events
Spy is an Fx event logger that captures emitted events and/or logged
statements. It may be used in tests of Fx logs.
EventTypes returns all captured event types.
Events returns all captured events.
LogEvent appends an Event.
Reset clears all messages and events from the Spy.
*Spy : go.uber.org/fx/fxevent.Logger
Package-Level Functions (only one)
DefaultLogger constructs a Logger out of io.Writer.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |