Skip to content

Commit

Permalink
Explain logger name semantics (see AbstractTraceInterceptor.setLogger…
Browse files Browse the repository at this point in the history
…Name)

See gh-28678
  • Loading branch information
jhoeller committed Oct 19, 2022
1 parent fb29137 commit 4c38777
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -80,9 +80,13 @@ public LoggingCacheErrorHandler(Log logger, boolean logStackTraces) {
/**
* Create a {@code LoggingCacheErrorHandler} that uses the supplied
* {@code loggerName} and {@code logStackTraces} flag.
* @param loggerName the logger name to use
* @param loggerName 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.
* @param logStackTraces whether to log stack traces
* @since 5.3.24
* @see org.apache.commons.logging.LogFactory#getLog(String)
* @see java.util.logging.Logger#getLogger(String)
*/
public LoggingCacheErrorHandler(String loggerName, boolean logStackTraces) {
Assert.notNull(loggerName, "'loggerName' must not be null");
Expand Down

0 comments on commit 4c38777

Please sign in to comment.