code: public static Logger getLogger(String name) {
          AtomicBoolean logWarning = new AtomicBoolean(false);
          initialized.updateAndGet(initialized -> {
              if (!initialized && !ProviderUtil.hasProviders()) {
                  noLogger.set(true);
                  logWarning.set(true);
              }
              return true;
          });
  
          if (noLogger.get()) {
              return loggers.computeIfAbsent(name, key -> {
                  Level level = FallbackLoggerConfiguration.isTraceEnabled()
                          ? Level.TRACE
                          : (FallbackLoggerConfiguration.isDebugEnabled() ? Level.DEBUG : Level.INFO);
                  Logger logger = new SimpleLogger(name, level, true, false, true, true, "yyyy-MM-dd HH:mm:ss.SSSZ", null,
                                                   new PropertiesUtil(new Properties()), System.out);
                  if (logWarning.get()) {
                      logger.info("No Log4j2 compatible logger was found. Using default Javacord implementation!");
                  }
                  return new PrivacyProtectionLogger(logger);
              });
          } else {
              return new PrivacyProtectionLogger(LogManager.getLogger(name));
          }
      }
docs: Get or create a logger with the given name.
  
  @param name The name of the logger.
  @return The logger with the given name.