Moved errorLevelToStr around, reformatted logs.

Logs now properly space and report error level when printin