Fix Log Formatter getTypeString EMERGENCY bug

This fixes a bug that prevents the EMERGENCY log type being displayed correctly.