summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/tools/manifest/log.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/tools/manifest/log.py')
-rw-r--r--testing/web-platform/tests/tools/manifest/log.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/web-platform/tests/tools/manifest/log.py b/testing/web-platform/tests/tools/manifest/log.py
new file mode 100644
index 0000000000..7881381733
--- /dev/null
+++ b/testing/web-platform/tests/tools/manifest/log.py
@@ -0,0 +1,9 @@
+import logging
+
+logger = logging.getLogger("manifest")
+
+def enable_debug_logging() -> None:
+ logger.setLevel(logging.DEBUG)
+
+def get_logger() -> logging.Logger:
+ return logger