public static void logPluginError(@NotNull Logger logger,
                                    @NotNull String errorMessage,
                                    @Nullable Throwable cause,
                                    @NotNull Class<?> pluginClass) {
    logger.error(createByClass(errorMessage, cause, pluginClass));
  }
public static void logPluginError(@NotNull Logger logger,
                                    @NotNull String errorMessage,
                                    @Nullable Throwable cause,
                                    @NotNull Class<?> pluginClass)