code: public static LoggerContext getContext() {
          try {
              return factory.getContext(FQCN, null, null, true);
          } catch (final IllegalStateException ex) {
              LOGGER.warn(ex.getMessage() + " Using SimpleLogger");
              return new SimpleLoggerContextFactory().getContext(FQCN, null, null, true);
          }
      }
docs: Returns the current LoggerContext.
  <p>
  WARNING - The LoggerContext returned by this method may not be the LoggerContext used to create a Logger for the
  calling class.
  </p>
  
  @return The current LoggerContext.