Skip to content

Commit b7a6dc1

Browse files
author
Staging script
committed
Staging PR 3030
1 parent adfe2d8 commit b7a6dc1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

kernelci/runtime/lava.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ def get_text(self):
6666
output += msg + '\n'
6767
return output
6868

69+
def get_data(self):
70+
"""Get the raw log data as a list of dicts in LAVA output.yaml format"""
71+
return [{'dt': dt, 'lvl': lvl, 'msg': msg} for dt, lvl, msg in self._raw_log]
72+
6973

7074
class Callback:
7175
"""LAVA callback handler"""

0 commit comments

Comments
 (0)