Documentation ¶
Index ¶
- Constants
- func Account(account voyager.Account) zap.Field
- func CreateContextWithLogger(ctx context.Context, logger *zap.Logger) context.Context
- func EnvType(envType voyager.EnvType) zap.Field
- func Label(label voyager.Label) zap.Field
- func Region(region voyager.Region) zap.Field
- func RequestNamespace(obj meta_v1.Object) zapcore.Field
- func RequestNamespaceName(name string) zapcore.Field
- func RetrieveLoggerFromContext(ctx context.Context) *zap.Logger
- func ServiceName(service voyager.ServiceName) zap.Field
- func ServiceNameString(service string) zap.Field
- func Sync(logger *zap.Logger)
Constants ¶
View Source
const LoggerContextKey loggerContextKeyType = 2718281828459045235
Variables ¶
This section is empty.
Functions ¶
func CreateContextWithLogger ¶
func RequestNamespaceName ¶
func ServiceName ¶
func ServiceName(service voyager.ServiceName) zap.Field
func ServiceNameString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.