package
1.0.0
Repository: https://github.com/harness/ff-proxy.git
Documentation: pkg.go.dev

# Functions

ExtractRequestValuesFromContext extracts request values from a context and returns them as a slice of strings.
NewContextualLogger creates a contextual logger.
NewNoOpContextualLogger returns a NoOpContextualLogger.
NewNoOpLogger returns a NoOpLogger.
NewStructuredLogger creates a StructuredLogger.
NewStructuredLoggerFromSugar creates a StrucutredLogger from a Sugared Zap Logger.

# Constants

RequestIDKey is the key we associate with the requestID that we set in the request context.

# Structs

NoOpContextualLogger is a type that implements the Logger interface but does nothing when it's methods are called.
NoOpLogger is a type that implements the Logger interface but does nothing when it's methods are called.
StructuredLogger implements the Logger interface.

# Interfaces

ContextualLogger defines a logger that can extract and log values from a context as well as logging a message and keyvals.
Logger defines a logger with multiple logging levels.