Changes the logger to accept arguments as a hash rather than array of arguments.

- Changes the logger error method to accept arguments as a hash rather than an array of keys and values.