package
0.0.0-20240730081840-b2c82e1192fb
Repository: https://github.com/joinself/restful-client.git
Documentation: pkg.go.dev
# Functions
New creates a new logger using the default configuration.
NewForTest returns a new logger and the corresponding observed logs which can be used in unit tests to verify log entries.
NewWithZap creates a new logger using the preconfigured zap logger.
WithRequest returns a context which knows the request ID and correlation ID in the given request.
# Interfaces
Logger is a logger that supports log levels, context and structured logging.