docs: protected void writePropertiesToLog(Logger logger, Level level) {
      writeToLog(logger, level, getMapAsString(this.properties, separator), null);
  
      if (this.exception != null) {
        writeToLog(this.logger, Level.ERROR, "Error:", this.exception);
      }
    }