/Engine/Source/Runtime/Core/Public/Misc/AutomationTest.h
If returns true then logging with a level of Warning will be treated as an error
true to make warnings errors
virtual bool ElevateLogWarningsToErrors()