Documentation ¶ Index ¶ func FormatDuration(value time.Duration) string func NewConsole(stderr io.Writer, verbosity int, quiet bool) *zap.Logger Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func FormatDuration ¶ func FormatDuration(value time.Duration) string FormatDuration returns a short human-readable duration string for logs. func NewConsole ¶ func NewConsole(stderr io.Writer, verbosity int, quiet bool) *zap.Logger NewConsole returns a logger configured for human-readable terminal output. verbosity controls the log level: 0 = warn, 1 = info, 2+ = debug. When quiet is true the logger only emits errors. Types ¶ This section is empty. Source Files ¶ View all Source files logger.go Click to show internal directories. Click to hide internal directories.