File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 22package trace
33
44import (
5+ "context"
56 "errors"
67 "io"
78)
@@ -11,3 +12,31 @@ func Start(w io.Writer) error {
1112}
1213
1314func Stop () {}
15+
16+ func NewTask (pctx context.Context , taskType string ) (ctx context.Context , task * Task ) {
17+ return context .TODO (), nil
18+ }
19+
20+ type Task struct {}
21+
22+ func (t * Task ) End () {}
23+
24+ func Log (ctx context.Context , category , message string ) {}
25+
26+ func Logf (ctx context.Context , category , format string , args ... any ) {}
27+
28+ func WithRegion (ctx context.Context , regionType string , fn func ()) {
29+ fn ()
30+ }
31+
32+ func StartRegion (ctx context.Context , regionType string ) * Region {
33+ return nil
34+ }
35+
36+ type Region struct {}
37+
38+ func (r * Region ) End () {}
39+
40+ func IsEnabled () bool {
41+ return false
42+ }
You can’t perform that action at this time.
0 commit comments