# Packages
No description provided by the author
# Functions
CreateLogFields generates common log fields for use in various parts of the application.
NewBadRequestError creates a new instance of BadRequestError.
RequestLogger returns a gin.HandlerFunc (middleware) that logs requests using zap.
SetLogger sets the logger instance for the package.
WithAnyZapField returns a LogFieldOption that allows direct use of zap.Field with CreateLogFields.
WithComponent returns a LogFieldOption that adds a 'component' field to the log.
WithError returns a LogFieldOption that adds an 'error' field to the log.
WithID returns a LogFieldOption that adds an 'id' field to the log.
WithSignal returns a LogFieldOption that adds a 'signal' field to the log.
# Variables
Logger is a global variable to access the zap logger throughout the logmonitor package.
# Structs
BadRequestError is a custom error type for bad requests.
# Type aliases
LogFieldOption defines a function signature for options that can be passed to createLogFields.