Adding crash_log() to base resource locator class

Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
This commit is contained in:
jckand-amzn
2021-12-03 13:46:42 -06:00
parent 658877a9a1
commit da06c84d5e
@@ -384,3 +384,14 @@ class AbstractResourceLocator(object):
"editor_log() is not implemented on the base AbstractResourceLocator() class. "
"It must be defined by the inheriting class - "
"i.e. _WindowsResourceLocator(AbstractResourceLocator).editor_log()")
@abstractmethod
def crash_log(self):
"""
Return path to the project's crash log dir using the builds project and platform
:return: path to error.log/crash.log
"""
raise NotImplementedError(
"crash_log() is not implemented on the base AbstractResourceLocator() class. "
"It must be defined by the inheriting class - "
"i.e. _WindowsResourceLocator(AbstractResourceLocator).crash_log()")