spring-geode-starter-logging/src/main/java/org/springframework/geode/logging/slf4j/logback/support/LogbackSupport.java
/**
	 * Requires the SLF4J Logback {@literal ROOT} {@link Logger} otherwise throws an {@link IllegalStateException}.
	 *
	 * @return the configured SLF4J Logback {@literal ROOT} {@link Logger}.
	 * @throws IllegalStateException if the SLF4J Logback {@literal ROOT} {@link Logger} could not be resolved
	 * or the {@literal ROOT} {@link Logger} is not a SLF4J Logback {@literal ROOT} {@link Logger}.
	 * @see ch.qos.logback.classic.Logger
	 * @see #resolveRootLogger()
	 */
Requires the SLF4J Logback  ROOT  Logger otherwise throws an  IllegalStateException.
@return the configured SLF4J Logback  ROOT  Logger.
@throws IllegalStateException if the SLF4J Logback  ROOT  Logger could not be resolved
or the  ROOT  Logger is not a SLF4J Logback  ROOT  Logger.
Requires the SLF4J Logback ROOT Logger otherwise throws an IllegalStateException . @return the configured SLF4J Logback ROOT Logger . @throws IllegalStateException if the SLF4J Logback ROOT Logger could not be resolved or the ROOT Logger is not a SLF4J Logback ROOT Logger .
public static ch.qos.logback.classic.Logger requireLogbackRootLogger() {
		return resolveRootLogger()
			.filter(ch.qos.logback.classic.Logger.class::isInstance)
			.map(ch.qos.logback.classic.Logger.class::cast)
			.orElseThrow(() -> new IllegalStateException(String.format(ILLEGAL_LOGGER_TYPE_EXCEPTION_MESSAGE,
				ROOT_LOGGER_NAME, nullSafeTypeName(resolveRootLogger()))));
	}
public static ch . qos . logback . classic . Logger requireLogbackRootLogger ( ) { return resolveRootLogger ( ) . filter ( ch . qos . logback . classic . Logger . class :: isInstance ) . map ( ch . qos . logback . classic . Logger . class :: cast ) . orElseThrow ( ( ) -> new IllegalStateException ( String . format ( ILLEGAL_LOGGER_TYPE_EXCEPTION_MESSAGE , ROOT_LOGGER_NAME , nullSafeTypeName ( resolveRootLogger ( ) ) ) ) ) ; }
Requires the SLF4J Logback {@literal ROOT} {@link Logger} otherwise throws an {@link IllegalStateException}.
Requires the SLF4J Logback { @literal ROOT } { @link Logger } otherwise throws an { @link IllegalStateException } .