UPDATED: Simplified LogErrorEmailFormatter by refactoring the responsibility for generating the backtrace up to the Debug class level. Logging methods no longer need to be excluded from the output.