static _logOption({ optionKey, envKey, changeNewKey, changeNewDefault, solution }) {
    const type = optionKey ? 'option' : 'environment key';
    const key = optionKey ? optionKey : envKey;
    const keyAction =
      changeNewKey == null
        ? undefined
        : changeNewKey.length > 0
          ? `renamed to '${changeNewKey}'`
          : `removed`;

    // Compose message
    let output = `DeprecationWarning: The Parse Server ${type} '${key}' `;
    output += changeNewKey ? `is deprecated and will be ${keyAction} in a future version.` : '';
    output += changeNewDefault
      ? `default will change to '${changeNewDefault}' in a future version.`
      : '';
    output += solution ? ` ${solution}` : '';
    logger.warn(output);
  }
Logs a deprecation warning for a Parse Server option.

@param {String} optionKey The option key incl. its path, e.g. `security.enableCheck`.
@param {String} envKey The environment key, e.g. `PARSE_SERVER_SECURITY`.
@param {String} changeNewKey Set the new key name if the current key will be replaced,
or set to an empty string if the current key will be removed without replacement.
@param {String} changeNewDefault Set the new default value if the key's default value
will change in a future version.
@param {String} [solution] The instruction to resolve this deprecation warning. This
message must not include the warning that the parameter is deprecated, that is
automatically added to the message. It should only contain the instruction on how
to resolve this warning.