spring-framework / org.springframework.beans.factory.config / DeprecatedBeanWarner / setLoggerName

setLoggerName

open fun setLoggerName(loggerName: String): Unit

Set the name of the logger to use. The name will be passed to the underlying logger implementation through Commons Logging, getting interpreted as log category according to the logger's configuration.

This can be specified to not log into the category of this warner class but rather into a specific named category.

See Also
org.apache.commons.logging.LogFactory#getLog(String)java.util.logging.Logger#getLogger(String)