Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  2. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  3. internal/bucket/object/lock/lock.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/env"
    )
    
    const (
    	logSubsys = "locking"
    )
    
    func lockLogIf(ctx context.Context, err error) {
    	logger.LogIf(ctx, logSubsys, err)
    }
    
    // Enabled indicates object locking is enabled
    const Enabled = "Enabled"
    
    // RetMode - object retention mode.
    type RetMode string
    
    const (
    	// RetGovernance - governance mode.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  4. internal/hash/checksum.go

    	"strings"
    
    	"github.com/minio/minio/internal/hash/sha256"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    )
    
    func hashLogIf(ctx context.Context, err error) {
    	logger.LogIf(ctx, "hash", err)
    }
    
    // MinIOMultipartChecksum is as metadata on multipart uploads to indicate checksum type.
    const MinIOMultipartChecksum = "x-minio-multipart-checksum"
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  5. internal/config/identity/plugin/config.go

    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/env"
    	xnet "github.com/minio/pkg/v2/net"
    )
    
    func authNLogIf(ctx context.Context, err error) {
    	logger.LogIf(ctx, "authN", err)
    }
    
    // Authentication Plugin config and env variables
    const (
    	URL        = "url"
    	AuthToken  = "auth_token"
    	RolePolicy = "role_policy"
    	RoleID     = "role_id"
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  6. internal/grid/connection.go

    	"github.com/minio/minio/internal/pubsub"
    	"github.com/puzpuzpuz/xsync/v3"
    	"github.com/tinylib/msgp/msgp"
    	"github.com/zeebo/xxh3"
    )
    
    func gridLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "grid", err, errKind...)
    }
    
    func gridLogIfNot(ctx context.Context, err error, ignored ...error) {
    	logger.LogIfNot(ctx, "grid", err, ignored...)
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
Back to top