def log(self, logger):
      log = logger.info if self.local or self.rev else logger.warn
      log('\t{}'.format(self))
Log information about the generated target including its BUILD file and import paths.
dataset/ETHPy150Open pantsbuild/pants/contrib/go/src/python/pants/contrib/go/tasks/go_buildgen.py/GoBuildgen.TemplateResult.log