Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for LogIf (0.19 sec)

  1. cmd/tier-sweeper.go

    //	   os.SetTransitionState(goi)
    //	}
    //
    // // After the overwriting object operation is complete.
    //
    //	if jentry, ok := os.ShouldRemoveRemoteObject(); ok {
    //	    err := globalTierJournal.AddEntry(jentry)
    //	    logger.LogIf(ctx, err)
    //	}
    type objSweeper struct {
    	Object              string
    	Bucket              string
    	VersionID           string // version ID set by application, applies only to DeleteObject and DeleteObjects APIs
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  2. cmd/logging.go

    	logger.LogOnceIf(ctx, "kms", err, id, errKind...)
    }
    
    // LogIf is the implementation of LogIf, accessible using the Logger interface
    func (l KMSLogger) LogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "kms", err, errKind...)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  3. internal/logger/logger.go

    	if err == nil {
    		return
    	}
    	logIf(ctx, subsystem, err, errKind...)
    }
    
    // LogIf prints a detailed error message during
    // the execution of the server, if it is not an
    // ignored error.
    func LogIf(ctx context.Context, subsystem string, err error, errKind ...interface{}) {
    	if logIgnoreError(err) {
    		return
    	}
    	logIf(ctx, subsystem, err, errKind...)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    
    	// Generic Invalid-Request error. Should be used for response errors only for unlikely
    	// corner case errors for which introducing new APIErrorCode is not worth it. LogIf()
    	// should be used to log the error at the source of the error for debugging purposes.
    	ErrInvalidRequest: {
    		Code:           "InvalidRequest",
    		Description:    "Invalid Request",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  5. internal/kms/kes.go

    	}
    	return results
    }
    
    // Logger interface permits access to module specific logging, in this case, for KMS
    type Logger interface {
    	LogOnceIf(ctx context.Context, err error, id string, errKind ...interface{})
    	LogIf(ctx context.Context, err error, errKind ...interface{})
    }
    
    // RefreshKey checks the validity of the KMS Master Key
    func (c *kesClient) RefreshKey(ctx context.Context, logger Logger) bool {
    	c.lock.RLock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
Back to top