summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/llnl/util/tty/__init__.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/spack/llnl/util/tty/__init__.py b/lib/spack/llnl/util/tty/__init__.py
index aba9e61f4f..48368543ff 100644
--- a/lib/spack/llnl/util/tty/__init__.py
+++ b/lib/spack/llnl/util/tty/__init__.py
@@ -36,6 +36,14 @@ _debug = False
_verbose = False
indent = " "
+def is_verbose():
+ return _verbose
+
+
+def is_debug():
+ return _debug
+
+
def set_debug(flag):
global _debug
_debug = flag