package
1.21.0
Repository: https://github.com/kretovdmitry/shortener.git
Documentation: pkg.go.dev

# Functions

Get 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.

# Structs

Log is a zap sugared logger wrraper with additional functionality.

# Interfaces

Logger is a logger that supports log levels, context and structured logging.