MCPcopy Index your code
hub / github.com/coder/coder / WithLogger

Function WithLogger

agent/reaper/reaper.go:40–44  ·  view source on GitHub ↗
(logger slog.Logger)

Source from the content-addressed store, hash-verified

38}
39
40func WithLogger(logger slog.Logger) Option {
41 return func(o *options) {
42 o.Logger = logger
43 }
44}
45
46// WithReaperStop sets a channel that, when closed, stops the reaper
47// goroutine. Callers that invoke ForkReap more than once in the

Callers 1

workspaceAgentFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected