Using python like format string since the formatting used in console is not supported in other browsers.