aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/log.py
diff options
context:
space:
mode:
Diffstat (limited to 'build_scripts/log.py')
-rw-r--r--build_scripts/log.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/build_scripts/log.py b/build_scripts/log.py
index d7e6645eb..c9ccf3fb9 100644
--- a/build_scripts/log.py
+++ b/build_scripts/log.py
@@ -3,5 +3,13 @@
import logging
+from enum import Enum
+
logging.basicConfig(format="[%(levelname)s]: %(message)s", level=logging.INFO)
log = logging.getLogger("qtforpython")
+
+
+class LogLevel(Enum):
+ QUIET = 1
+ INFO = 2
+ VERBOSE = 3