(ctx context.Context, blockId string, verbose bool)
| 44 | } |
| 45 | |
| 46 | func ContextWithLogBlockId(ctx context.Context, blockId string, verbose bool) context.Context { |
| 47 | return context.WithValue(ctx, logBlockIdContextKey, &logBlockIdData{BlockId: blockId, Verbose: verbose}) |
| 48 | } |
| 49 | |
| 50 | func getLogBlockData(ctx context.Context) *logBlockIdData { |
| 51 | if ctx == nil { |
no outgoing calls
no test coverage detected