package
2.85.0+incompatible
Repository: https://github.com/transcom/mymove.git
Documentation: pkg.go.dev
# Functions
BuildZapConfig generates the zap Config.
Config configures a Zap logger based on the environment string and debugLevel.
FromContext returns a logger associated with a context.
FromContextWithoutDefault returns a logger associated with a context.
NewContext returns a new context with a logger.
WithEnvironment provides an option to pass in the environment.
WithLoggingLevel provides an option to pass in the logging level.
WithStacktraceLength provides an option to pass in the stack trace length.
# Structs
ZapConfig defines the configurable parameters you can pass in when setting up the logger.
# Type aliases
ZapConfigOption is the type for the possible options you can pass in to logging.Config.