Add more logging with file prefixes
This makes the handoff between gendoc and batesian clearer in the logs.
This commit is contained in:
parent
064a2c9172
commit
f1adad5fb3
4 changed files with 15 additions and 14 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue