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

Method GetScriptLogger

codersdk/agentsdk/logs.go:487–489  ·  view source on GitHub ↗
(logSourceID uuid.UUID)

Source from the content-addressed store, hash-verified

485}
486
487func (l *LogSender) GetScriptLogger(logSourceID uuid.UUID) ScriptLogger {
488 return ScriptLogger{srcID: logSourceID, sender: l}
489}
490
491// WaitUntilEmpty waits until the LogSender's queues are empty or the given context expires.
492func (l *LogSender) WaitUntilEmpty(ctx context.Context) error {

Callers 2

initMethod · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected