Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for peersLogAlwaysIf (0.18 sec)

  1. cmd/prepare-storage.go

    			if once {
    				m[err.Error()]++
    				peersLogAlwaysIf(ctx, err)
    				return
    			}
    		}
    		// Once is set and we are here means error was already
    		// printed once.
    		if once {
    			return
    		}
    		// once not set, check if same error occurred 3 times in
    		// a row, then make sure we print it to call attention.
    		if m[err.Error()] > 2 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  2. cmd/logging.go

    	logger.LogIf(ctx, "authZ", err, errKind...)
    }
    
    func peersLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "peers", err, errKind...)
    }
    
    func peersLogAlwaysIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogAlwaysIf(ctx, "peers", err, errKind...)
    }
    
    func peersLogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 6.6K bytes
    - Viewed (0)
Back to top