Fix error with passing two arguments to Logger#error

Passing two arguments to Logger#error is not supported.