(ctx context.Context, w io.Writer, format string, a ...any)
| 68 | } |
| 69 | |
| 70 | func FHidableWarning(ctx context.Context, w io.Writer, format string, a ...any) { |
| 71 | if isHidden(ctx, format) { |
| 72 | return |
| 73 | } |
| 74 | Fwarningf(w, format, a...) |
| 75 | } |
| 76 | |
| 77 | func isHidden(ctx context.Context, format string) bool { |
| 78 | isHidden, _ := ctx.Value(ctxKey(format)).(bool) |
no test coverage detected