Fix the bug which occurs a fatal error when only one argument is given to debugf() and so on refs #434: Fatal error occurs when an object is given to debugf()