docs: 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;
    }
  }