Add more logging with file prefixes

This makes the handoff between gendoc and batesian clearer in the logs.
This commit is contained in:
Kegan Dougal 2015-09-23 15:10:55 +01:00
parent 064a2c9172
commit f1adad5fb3
4 changed files with 15 additions and 14 deletions

View file

@ -22,7 +22,7 @@ class Units(object):
def log(self, text):
if self.debug:
print text
print "batesian:units: %s" % text
def get_units(self, debug=False):
unit_list = inspect.getmembers(self, predicate=inspect.ismethod)