ui: improve docs on ui.log

This makes the documentation on ui.log line up with the use of that
interface in blackbox.
This commit is contained in:
Augie Fackler 2015-09-10 10:50:03 -04:00
parent 80896f8bec
commit 62a104b3a9

View File

@ -969,9 +969,12 @@ class ui(object):
service should be a readily-identifiable subsystem, which will
allow filtering.
message should be a newline-terminated string to log.
*msg should be a newline-terminated format string to log, and
then any values to %-format into that format string.
**opts currently has no defined meanings.
'''
pass
def label(self, msg, label):
'''style msg based on supplied label