Updates level format specifier
Fixes for mingw and millisecond div by zero