Documentation ¶ Index ¶ func Must(logger *zap.Logger, err error) *zap.Logger func NewLogger(ws zapcore.WriteSyncer, debug bool) *zap.Logger Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Must ¶ func Must(logger *zap.Logger, err error) *zap.Logger Must panics if there is a non-nil error, otherwise it returns a non-nil zap logger. This function is intended for use with the NewLogger function when the application must panic if a zap logger could not be created. func NewLogger ¶ func NewLogger(ws zapcore.WriteSyncer, debug bool) *zap.Logger NewLogger creates a new zap logger instance for use in the MCL command-line application. Types ¶ This section is empty. Source Files ¶ View all Source files log.go Click to show internal directories. Click to hide internal directories.