public static void logError(String message, @Nullable Throwable e, String @NotNull ... details) {
    logIfNeeded(e, false, t -> LOG.error(message, t, details));
  }
public static void logError(String message, @Nullable Throwable e, String @NotNull ... details)