package fxlog

Import Path
	go.uber.org/fx/internal/fxlog (on go.dev)

Dependency Relation
	imports 4 packages, and imported by one package

Involved Source Files default.go spy.go
Package-Level Type Names (total 2)
/* sort by: | */
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.