From 3b4674ffe0e6ef1b016333ee726293ecf70c4e4e Mon Sep 17 00:00:00 2001 From: Dean Deng Date: Wed, 28 Oct 2020 18:16:30 -0700 Subject: Add logging option to leak checker. Also refactor the template and CheckedObject interface to make this cleaner. Updates #1486. PiperOrigin-RevId: 339577120 --- pkg/refsvfs2/BUILD | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkg/refsvfs2/BUILD') diff --git a/pkg/refsvfs2/BUILD b/pkg/refsvfs2/BUILD index 245e33d2d..bfa1daa10 100644 --- a/pkg/refsvfs2/BUILD +++ b/pkg/refsvfs2/BUILD @@ -8,6 +8,9 @@ go_template( srcs = [ "refs_template.go", ], + opt_consts = [ + "logTrace", + ], types = [ "T", ], -- cgit v1.2.3