Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AppLogger *slog.Logger
AppLogger is the application-wide logger instance
Functions ¶
func FromContext ¶
FromContext retrieves a logger from the given context If no logger exists in the context, returns the default logger
func SetupLogger ¶
SetupLogger initializes the structured logger based on environment settings
func WithContext ¶
WithContext stores a logger in the given context
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.