public static void logError(@NotNull Class<?> loggingClass, @NotNull Object message, Attachment @NotNull ... attachments) {
    String s = message.toString();
    Logger.getInstance(loggingClass).error(s, new IllegalStateException(s), attachments);
  }
public static void logError(@NotNull Class<?> loggingClass, @NotNull Object message, Attachment @NotNull ... attachments)