package
1.4.8
Repository: https://github.com/kubeslice/worker-operator.git
Documentation: pkg.go.dev

# Functions

FromContext returns a logger from the context.
NewLogger Creates a new SugaredLogger instance with predefined standard fields SugaredLogger makes it easy to use structured logging with logging levels and additional fields.
Creates a new zap logger, wraps it to logr.Logger using zapr Required for controller-runtime logging.
WithLogger takes in a context and returns a context with key as loggerKey{} and value as loggger(of type logr.Logger) passed.

# Variables

Name of the cluster.
ControlPlaneNamespace is the namespace where slice operator is running.