spring-geode-starter-logging/src/main/java/org/springframework/geode/logging/slf4j/logback/support/LogbackSupport.java
/**
	 * Resolves the SLF4J, Logback {@link LoggerContext}.
	 *
	 * If the {@link LoggerContext} could not be resolve then the returned {@link Optional}
	 * will be {@link Optional#empty() empty}.
	 *
	 * @return an {@link Optional} {@link LoggerContext}.
	 * @see ch.qos.logback.classic.LoggerContext
	 */
Resolves the SLF4J, Logback  LoggerContext.
If the  LoggerContext could not be resolve then the returned  Optional
will be  Optional#empty() empty.

@return an  Optional  LoggerContext.
Resolves the SLF4J Logback LoggerContext . If the LoggerContext could not be resolve then the returned Optional will be Optional#empty () empty . @return an Optional LoggerContext .
public static Optional<LoggerContext> resolveLoggerContext() {
		ILoggerFactory loggerFactory = LoggerFactory.getILoggerFactory();
		LoggerContext resolvedLoggerContext = loggerFactory instanceof LoggerContext
			? (LoggerContext) loggerFactory
			: null;
		return Optional.ofNullable(resolvedLoggerContext);
	}
public static Optional < LoggerContext > resolveLoggerContext ( ) { ILoggerFactory loggerFactory = LoggerFactory . getILoggerFactory ( ) ; LoggerContext resolvedLoggerContext = loggerFactory instanceof LoggerContext ? ( LoggerContext ) loggerFactory : null ; return Optional . ofNullable ( resolvedLoggerContext ) ; }
Resolves the SLF4J, Logback {@link LoggerContext}.
Resolves the SLF4J Logback { @link LoggerContext } .