void (@NotNull Class<?> loggingClass, @NotNull String message, @NotNull BooleanSupplier statementSupplier) { if (!statementSupplier.getAsBoolean()) { Logger.getInstance(loggingClass).error(new IllegalArgumentException(message)); } }