code: function isValidLogLevel(logLevel) {
    const level = cleanLogLevel(logLevel);
    switch (level) {
      case LogLevel.ERROR:
      case LogLevel.WARN:
      case LogLevel.INFO:
      case LogLevel.DEBUG:
      case LogLevel.TRACE:
        return true;
      default:
        return false;
    }
  }
docs: Returns true if the given log level is a valid logging level; otherwise returns false.
  @param {LogLevel|string|undefined} [logLevel] - the optional log level to validate
  @returns {boolean} true if a valid logging level; false otherwise