Categorygithub.com/minipkg/log
modulepackage
0.0.1
Repository: https://github.com/minipkg/log.git
Documentation: pkg.go.dev

# Packages

Package accesslog provides a middleware that records every RESTful API call in a log message.

# Functions

New creates a new logger.
NewByDefault creates a new logger using the default configuration.
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

Config for a logger.
Logger struct.

# Interfaces

ILogger interface.