Add log functions accepting format specifiers