##// END OF EJS Templates
ui: add logging hook
Matt Mackall -
r11984:2db0fccc default
parent child Browse files
Show More
@@ -593,6 +593,15 b' class ui(object):'
593 593 else:
594 594 self.debug('%s:%s %s%s\n' % (topic, item, pos, unit))
595 595
596 def log(self, service, message):
597 '''hook for logging facility extensions
598
599 service should be a readily-identifiable subsystem, which will
600 allow filtering.
601 message should be a newline-terminated string to log.
602 '''
603 pass
604
596 605 def label(self, msg, label):
597 606 '''style msg based on supplied label
598 607
General Comments 0
You need to be logged in to leave comments. Login now