package
0.6.0
Repository: https://github.com/flashbots/go-utils.git
Documentation: pkg.go.dev

# Functions

ContextWithZap returns a copy of parent context injected with corresponding zap logger.
FlushZap triggers the Sync() on the logger.
GetZapLogger returns a logger created according to the provided options.
LogDevMode tells the logger to work in the development mode.
LogLevel sets the desired level of logging.
MustGetZapLogger is guaranteed to return a logger with configuration as close as possible to the desired one.
RequestWithZap returns a shallow copy of parent request with context being supplemented with corresponding zap logger.
ZapFromContext retrieves the zap logger passed with a context.
ZapFromRequest retrieves the zap logger passed with request's context.

# Variables

No description provided by the author

# Type aliases

LogConfigOption allows to fine-tune the configuration of the logger.