void (@NotNull Class<?> loggingClass, boolean statement, @NotNull Supplier<Object> lazyMessage) { if (!statement) { Logger.getInstance(loggingClass).error(new IllegalPostconditionException(lazyMessage.get().toString())); } }