MCPcopy Index your code
hub / github.com/coder/envbox / agentClientV2

Struct agentClientV2

buildlog/coder.go:69–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69type agentClientV2 struct {
70 ctx context.Context
71 cancel context.CancelFunc
72 source uuid.UUID
73 ls *agentsdk.LogSender
74 sl agentsdk.ScriptLogger
75 log slog.Logger
76}
77
78func (c *agentClientV2) Send(level codersdk.LogLevel, log string) error {
79 err := c.sl.Send(c.ctx, agentsdk.Log{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected