code: public static void e(com.couchbase.lite.LogDomain domain, String msg, Throwable tr) {
          e(domain, "%s: %s", msg, tr.toString());
      }
docs: Send a ERROR message and log the exception.
  
  @param domain The log domain.
  @param msg    The message you would like logged.
  @param tr     An exception to log