Documentation ¶
Index ¶
- func Debug(ctx context.Context, v ...interface{})
- func Debugf(ctx context.Context, format string, v ...interface{})
- func Error(ctx context.Context, v ...interface{})
- func Errorf(ctx context.Context, format string, v ...interface{})
- func ExtractLogger(ctx context.Context) *zap.SugaredLogger
- func Info(ctx context.Context, v ...interface{})
- func Infof(ctx context.Context, format string, v ...interface{})
- func NewManagerContext(log *zap.SugaredLogger) context.Context
- func NewReconcilerContext(ctx context.Context, name string) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractLogger ¶
func ExtractLogger(ctx context.Context) *zap.SugaredLogger
ExtractLogger returns the logger from the context
func NewManagerContext ¶
func NewManagerContext(log *zap.SugaredLogger) context.Context
NewManagerContext returns a new context with a logger
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.