package
0.0.0-20210411234827-e3d78ff71e38
Repository: https://github.com/muratmirgun/api.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.