MCPcopy Index your code
hub / github.com/FunctionStream/function-stream / WithLogger

Function WithLogger

fs/manager.go:126–131  ·  view source on GitHub ↗
(log *logr.Logger)

Source from the content-addressed store, hash-verified

124}
125
126func WithLogger(log *logr.Logger) ManagerOption {
127 return managerOptionFunc(func(c *managerOptions) (*managerOptions, error) {
128 c.log = log
129 return c, nil
130 })
131}
132
133func NewFunctionManager(opts ...ManagerOption) (FunctionManager, error) {
134 options := &managerOptions{

Callers 1

NewServerFunction · 0.92

Calls 1

managerOptionFuncFuncType · 0.85

Tested by

no test coverage detected