Require format string to improve performance. Input logic more straight-foward.