Documentation ¶ Index ¶ func InitLogging(debug bool) (*zap.SugaredLogger, error) func NewEncoder(cfg zapcore.EncoderConfig) *customEncoder func SimpleEncoder(cfg zapcore.EncoderConfig) *simpleEncoder type Color func (c Color) Add(s string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func InitLogging ¶ func InitLogging(debug bool) (*zap.SugaredLogger, error) func NewEncoder ¶ func NewEncoder(cfg zapcore.EncoderConfig) *customEncoder nolint func SimpleEncoder ¶ func SimpleEncoder(cfg zapcore.EncoderConfig) *simpleEncoder nolint Types ¶ type Color ¶ type Color uint8 const ( Black Color = iota + 30 Red Green Yellow Blue Magenta Cyan White ) func (Color) Add ¶ func (c Color) Add(s string) string Source Files ¶ View all Source files color.goencoder.gologger.gosimple.go Click to show internal directories. Click to hide internal directories.