summaryrefslogtreecommitdiffstats
path: root/js/src/tests/lib/structuredlog.py
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/lib/structuredlog.py')
-rw-r--r--js/src/tests/lib/structuredlog.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/src/tests/lib/structuredlog.py b/js/src/tests/lib/structuredlog.py
index 2f2d317d02..b00914cc90 100644
--- a/js/src/tests/lib/structuredlog.py
+++ b/js/src/tests/lib/structuredlog.py
@@ -1,5 +1,5 @@
# produce mozlog-compatible log messages, following the spec at
-# https://mozbase.readthedocs.io/en/latest/mozlog.html
+# https://firefox-source-docs.mozilla.org/mozbase/mozlog.html
import json
import os
@@ -54,3 +54,6 @@ class TestLogger(object):
record["status"] = status
record.update(**details)
self._log_obj(record)
+
+ def log_info(self, message):
+ self._log(action="log", level="INFO", message=message)