[1.3.0] Fix Log Formatter getTypeString EMERGENCY bug

This fixes a bug that prevents the EMERGENCY log type being displayed correctly.
(cherry picked from commit 7cb8f4bb52a069a3146f7c69789dca384f499206)