Refactor how the internal log error is created
Refactor how the internal log error is created

The goal of this is to make it easier/trivial to create other internal
error logs. In the future this can be used to provide more robust
handling of edge cases.

GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity