Documentation
¶
Overview ¶
Package utils holds small shared helpers, currently the process-wide zap logger.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger *zap.Logger
Logger is the process-wide logger; use GetLogger instead of reading it directly.
Functions ¶
func InitLogger ¶
InitLogger initializes the global logger: debug-level development output when development is set, otherwise warnings only, as plain console lines. Errors are returned to the CLI, which reports them itself.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.