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

Method Logger

codersdk/client.go:164–168  ·  view source on GitHub ↗

Logger returns the logger for the client.

()

Source from the content-addressed store, hash-verified

162
163// Logger returns the logger for the client.
164func (c *Client) Logger() slog.Logger {
165 c.mu.RLock()
166 defer c.mu.RUnlock()
167 return c.logger
168}
169
170// SetLogger sets the logger for the client.
171// Deprecated: Use WithLogger to set this.

Callers 15

openEmbeddedPostgresFunction · 0.45
RewriteDERPMapMethod · 0.45
connectRPCVersionMethod · 0.45
RewriteDERPMapMethod · 0.45
startBuiltinPostgresFunction · 0.45
startTempPostgresSetURLFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestSlogExporterFunction · 0.36