summaryrefslogtreecommitdiff
path: root/tools/patman
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-07-08 14:25:49 -0600
committerSimon Glass <sjg@chromium.org>2019-07-24 12:54:08 -0700
commiteea264ead3ca198ed66f62a78dc4940075621ae7 (patch)
treeb7005012bbfa1ba540658b6878b01b7637a1a7a1 /tools/patman
parent61f564d15f35e5f5600ed639201b257efa09d1f1 (diff)
binman: Allow for logging information to be displayed
Binman generally operates silently but in some cases it is useful to see what Binman is actually doing at each step. Enable some logging output with different logging levels selectable via the -v flag. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman')
-rw-r--r--tools/patman/tout.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/patman/tout.py b/tools/patman/tout.py
index 4957c7ae1d..15acce28cb 100644
--- a/tools/patman/tout.py
+++ b/tools/patman/tout.py
@@ -131,13 +131,21 @@ def Info(msg):
"""
_Output(3, msg)
+def Detail(msg):
+ """Display a detailed message
+
+ Args:
+ msg; Message to display.
+ """
+ _Output(4, msg)
+
def Debug(msg):
"""Display a debug message
Args:
msg; Message to display.
"""
- _Output(4, msg)
+ _Output(5, msg)
def UserOutput(msg):
"""Display a message regardless of the current output level.