Documentation ¶ Index ¶ func NewLogger(level, format string) *zap.Logger Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewLogger ¶ func NewLogger(level, format string) *zap.Logger NewLogger creates a zap.Logger configured for the given log level and output format. Supported formats: "console" (colored, dev-friendly) and "json" (structured, production). Unknown levels fall back to info. Types ¶ This section is empty. Source Files ¶ View all Source files logger.go Click to show internal directories. Click to hide internal directories.