MCPcopy
hub / github.com/ardanlabs/service / EventFn

FuncType EventFn

foundation/logger/model.go:46–46  ·  view source on GitHub ↗

EventFn is a function to be executed when configured against a log level.

func(ctx context.Context, r Record)

Source from the content-addressed store, hash-verified

44
45// EventFn is a function to be executed when configured against a log level.
46type EventFn func(ctx context.Context, r Record)
47
48// Events contains an assignment of an event function to a log level.
49type Events struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected