void ( @NotNull Class<?> loggingClass, boolean statement, @NotNull String message, Attachment @NotNull ... attachments ) { if (!statement) { Logger.getInstance(loggingClass).error(message, new IllegalPostconditionException(message), attachments); } }