Documentation ¶
Index ¶
- Constants
- type Log
- func (*Log) Black(msg string) string
- func (*Log) Blue(msg string) string
- func (*Log) Cyan(msg string) string
- func (*Log) Green(msg string) string
- func (toolLog *Log) Init(conf LogConfig) *zap.Logger
- func (*Log) Instance() *zap.Logger
- func (*Log) Magenta(msg string) string
- func (*Log) NewLogger(opts ...Option) *zap.Logger
- func (*Log) Red(msg string) string
- func (*Log) SetColor(msg string, conf, bg, text int) string
- func (*Log) White(msg string) string
- func (*Log) Yellow(msg string) string
- type LogConfig
- type Option
Constants ¶
View Source
const ( TextBlack = iota + 30 TextRed TextGreen TextYellow TextBlue TextMagenta TextCyan TextWhite )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.