code: protected LoggerContext getContext(final Class<?> callerClass) {
          ClassLoader cl = null;
          if (callerClass != null) {
              cl = callerClass.getClassLoader();
          }
          if (cl == null) {
              cl = LoaderUtil.getThreadContextClassLoader();
          }
          return LogManager.getContext(cl, false);
      }
docs: Gets the {@link LoggerContext} associated with the given caller class.
  
  @param callerClass the caller class
  @return the LoggerContext for the calling class