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

Function WithLogger

codersdk/client.go:703–707  ·  view source on GitHub ↗
(logger slog.Logger)

Source from the content-addressed store, hash-verified

701}
702
703func WithLogger(logger slog.Logger) ClientOption {
704 return func(c *Client) {
705 c.logger = logger
706 }
707}
708
709func WithLogBodies() ClientOption {
710 return func(c *Client) {

Callers 4

initializeMethod · 0.92
RunMethod · 0.92
DupClientCopyingHeadersFunction · 0.92
RunReturningResultMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected