docs: public static LoggerContext getLoggerContext() {
          final long startTime = System.nanoTime();
          while (true) {
              final ILoggerFactory iLoggerFactory = LoggerFactory.getILoggerFactory();
              if (iLoggerFactory instanceof LoggerContext) {
                  return (LoggerContext) iLoggerFactory;
              }
              if ((System.nanoTime() - startTime) > LOGGER_CONTEXT_AWAITING_TIMEOUT.toNanoseconds()) {
                  throw new IllegalStateException("Unable to acquire the logger context");
              }
              try {
                  Thread.sleep(LOGGER_CONTEXT_AWAITING_SLEEP_TIME.toMilliseconds());
              } catch (InterruptedException e) {
                  throw new IllegalStateException(e);
              }
          }
      }