code: def error(self, correlation_id, error, message, *args, **kwargs):
          
          self._format_and_write(LogLevel.Error, correlation_id, error, message, args, kwargs)
docs: Logs recoverable application error.
  
          :param correlation_id: (optional) transaction id to trace execution through call chain.
  
          :param error: an error object associated with this message.
  
          :param message: a human-readable message to log.
  
          :param args: arguments to parameterize the message.
  
          :param kwargs: arguments to parameterize the message.