Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for shouldNag (0.11 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DeprecatedFeaturesListener.kt

                .nagUser()
        }
    
        private
        fun shouldNagFor(task: TaskInternal, runningTask: TaskInternal?) =
            shouldNag() && shouldReportInContext(task, runningTask)
    
        private
        fun shouldNag(): Boolean =
            // TODO:configuration-cache - this listener shouldn't be registered when cc is enabled
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. internal/logger/logonce.go

    		return
    	}
    
    	nerr := unwrapErrs(err)
    	l.Lock()
    	shouldLog := true
    	prev, ok := l.IDMap[id]
    	if !ok {
    		l.IDMap[id] = onceErr{
    			Err:   nerr,
    			Count: 1,
    		}
    	} else if prev.Err.Error() == nerr.Error() {
    		// if errors are equal do not log.
    		prev.Count++
    		l.IDMap[id] = prev
    		shouldLog = false
    	}
    	l.Unlock()
    
    	if shouldLog {
    		consoleLogIf(ctx, subsystem, err, errKind...)
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top