/** * Whether early exit is OK? * * @param logAtInfoToo We want to log at INFO level too * @return {@code true} if log level not even at INFO * or log level is not at least DEBUG as well as {@code logAtInfoToo} is false too * ; false otherwise */ private boolean canExitEarly(boolean logAtInfoToo) { if (!logAtInfoToo) { return !isDebugEnabled(); } else { return !isInfoEnabled(); } }
/** * Whether early exit is OK? * * @param logAtInfoToo We want to log at INFO level too * @return {@code true} if log level not even at INFO * or log level is not at least DEBUG as well as {@code logAtInfoToo} is false too * ; false otherwise */ private boolean canExitEarly(boolean logAtInfoToo) { if (!logAtInfoToo) { return !isDebugEnabled(); } else { return !isInfoEnabled(); } }
/** * Whether early exit is OK? * * @param logAtInfoToo We want to log at INFO level too * @return {@code true} if log level not even at INFO * or log level is not at least DEBUG as well as {@code logAtInfoToo} is false too * ; false otherwise */ private boolean canExitEarly(boolean logAtInfoToo) { if (!logAtInfoToo) { return !isDebugEnabled(); } else { return !isInfoEnabled(); } }
(Object[]) arguments); } else if ( ( logAtDebugIfSlowerThanMs < 0 || diff > logAtDebugIfSlowerThanMs ) && isDebugEnabled()) {
(Object[]) arguments); } else if ( ( logAtDebugIfSlowerThanMs < 0 || diff > logAtDebugIfSlowerThanMs ) && isDebugEnabled()) {
(Object[]) arguments); } else if ( ( logAtDebugIfSlowerThanMs < 0 || diff > logAtDebugIfSlowerThanMs ) && isDebugEnabled()) {
callstack = new Exception("call stack"); pstart = PERFLOG.start(PERFLOG.isDebugEnabled() ? ("querying: table=" + tmd.getName() + ", minId=" + minId + ", maxId=" + maxId + ", excludeKeyPatterns=" + excludeKeyPatterns + ", conditions=" + conditions + ", limit=" + limit + ", sortBy=" + sortBy)
callstack = new Exception("call stack"); pstart = PERFLOG.start(PERFLOG.isDebugEnabled() ? ("querying: table=" + tmd.getName() + ", minId=" + minId + ", maxId=" + maxId + ", excludeKeyPatterns=" + excludeKeyPatterns + ", conditions=" + conditions + ", limit=" + limit + ", sortBy=" + sortBy)
long pstart = PERFLOG.start(PERFLOG.isDebugEnabled() ? ("querying: table=" + tmd.getName() + ", minId=" + minId + ", maxId=" + maxId + ", excludeKeyPatterns=" + excludeKeyPatterns + ", conditions=" + conditions + ", limit=" + limit)
long pstart = PERFLOG.start(PERFLOG.isDebugEnabled() ? ("querying: table=" + tmd.getName() + ", minId=" + minId + ", maxId=" + maxId + ", excludeKeyPatterns=" + excludeKeyPatterns + ", conditions=" + conditions + ", limit=" + limit)
long pstart = PERFLOG.start(PERFLOG.isDebugEnabled() ? ("reading: " + keys) : null);
long pstart = PERFLOG.start(PERFLOG.isDebugEnabled() ? ("reading: " + keys) : null);