package
7.0.1+incompatible
Repository: https://github.com/dydxprotocol/v4-chain.git
Documentation: pkg.go.dev
# Functions
LogErrorWithOptionalContext logs an error, optionally adding context to the logger iff the error implements the LogContextualizer interface.
NewErrorWithLogContext returns a new ErrorWithLogContext wrapping the given error.
WrapErrorWithPricesSourceModuleContext wraps an error with a LogContextualizer that contains a key-value pair for the specified source module.
# Constants
No description provided by the author
# Structs
ErrorWithLogContext wraps an error with log context and implements the LogContextualizer interface.
# Interfaces
LogContextualizer describes an object that can add context - that is, descriptive key-value pairs, to a logger.