Mercurial > lcfOS
diff python/c3/analyse.py @ 255:7416c923a02a
Added more logging
author | Windel Bouwman |
---|---|
date | Sun, 04 Aug 2013 15:10:10 +0200 |
parents | 6ed3d3a82a63 |
children | e64bae57cda8 |
line wrap: on
line diff
--- a/python/c3/analyse.py Wed Jul 31 21:20:58 2013 +0200 +++ b/python/c3/analyse.py Sun Aug 04 15:10:10 2013 +0200 @@ -1,3 +1,4 @@ +import logging from .visitor import Visitor from .astnodes import * from .scope import Scope, topScope @@ -11,8 +12,10 @@ """ def __init__(self, diag): self.diag = diag + self.logger = logging.getLogger('c3') def analyzePackage(self, pkg, packageProvider): + self.logger.info('Checking package {}'.format(pkg.name)) self.ok = True visitor = Visitor() # Prepare top level scope: