Commits

Lars Yencken committed 473a5c1

Adds a method for manually adding space between log lines.

  • Participants
  • Parent commits 57a98a8

Comments (0)

Files changed (1)

File src/consoleLog.py

             self.oStream.flush()
         return
 
+    def space(self):
+        if self.logStack:
+            padding = []
+            for levelLogger in self.logStack:
+                padding.append(levelLogger.getIntermediatePadding())
+            padding = u''.join(padding)
+        else:
+            padding = u''
+        print >> self.oStream, padding
+        return
+
     def finish(self, message="Done"):
         """
         Ends a hierarchical logging section which was previously created using