summaryrefslogtreecommitdiff
path: root/src/buildstream/element.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/element.py')
-rw-r--r--src/buildstream/element.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py
index 208bc35b2..240e8ce7d 100644
--- a/src/buildstream/element.py
+++ b/src/buildstream/element.py
@@ -925,6 +925,14 @@ class Element(Plugin):
self.__batch_prepare_assemble_flags = flags
self.__batch_prepare_assemble_collect = collect
+ def get_logs(self):
+ """Obtain a list of log file paths
+
+ Returns:
+ (list): A list of log file paths
+ """
+ return self.__artifact.get_logs()
+
#############################################################
# Private Methods used in BuildStream #
#############################################################