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

Function WithLogger

coderd/agentapi/metadatabatcher/metadata_batcher.go:120–124  ·  view source on GitHub ↗
(log slog.Logger)

Source from the content-addressed store, hash-verified

118}
119
120func WithLogger(log slog.Logger) Option {
121 return func(b *Batcher) {
122 b.log = log
123 }
124}
125
126func WithClock(clock quartz.Clock) Option {
127 return func(b *Batcher) {

Calls

no outgoing calls