MCPcopy Create free account
hub / github.com/bytebase/bytebase / taskRunLogContext

Function taskRunLogContext

backend/runner/taskrun/log_context.go:17–19  ·  view source on GitHub ↗
(ctx context.Context, projectID string, taskRunUID int64)

Source from the content-addressed store, hash-verified

15}
16
17func taskRunLogContext(ctx context.Context, projectID string, taskRunUID int64) context.Context {
18 return log.WithAttrs(ctx, taskRunLogAttrs(projectID, taskRunUID)...)
19}

Callers 6

runTaskRunOnceMethod · 0.85
RunOnceMethod · 0.85
TestTaskRunLogContextFunction · 0.85
RunOnceMethod · 0.85
RunOnceMethod · 0.85

Calls 2

WithAttrsFunction · 0.92
taskRunLogAttrsFunction · 0.85

Tested by 1

TestTaskRunLogContextFunction · 0.68