Versions in this module Expand all Collapse all v0 v0.3.0 Dec 20, 2021 Changes in this version + const B + const Blk + const BlkBg + const Blu + const BluBg + const Critical + const Cyn + const CynBg + const D + const Debug + const Error + const Grn + const GrnBg + const Gry + const H + const I + const In + const Info + const Mgn + const MgnBg + const R + const Rd + const RdBg + const S + const U + const Warning + const Wht + const WhtBg + const Yel + const YelBg + func Black(msg interface{}, styles ...string) string + func BlackBg(msg interface{}, styles ...string) string + func Blue(msg interface{}, styles ...string) string + func BlueBg(msg interface{}, styles ...string) string + func Bold(msg interface{}, styles ...string) string + func Cyan(msg interface{}, styles ...string) string + func CyanBg(msg interface{}, styles ...string) string + func Dim(msg interface{}, styles ...string) string + func Disable() + func Enable() + func Green(msg interface{}, styles ...string) string + func GreenBg(msg interface{}, styles ...string) string + func Grey(msg interface{}, styles ...string) string + func Hidden(msg interface{}, styles ...string) string + func Inverse(msg interface{}, styles ...string) string + func Italic(msg interface{}, styles ...string) string + func Magenta(msg interface{}, styles ...string) string + func MagentaBg(msg interface{}, styles ...string) string + func Output() io.Writer + func Print(args ...interface{}) + func Printf(format string, args ...interface{}) + func Println(args ...interface{}) + func Red(msg interface{}, styles ...string) string + func RedBg(msg interface{}, styles ...string) string + func Reset(msg interface{}, styles ...string) string + func SetOutput(w io.Writer) + func Strikeout(msg interface{}, styles ...string) string + func Underline(msg interface{}, styles ...string) string + func White(msg interface{}, styles ...string) string + func WhiteBg(msg interface{}, styles ...string) string + func Yellow(msg interface{}, styles ...string) string + func YellowBg(msg interface{}, styles ...string) string + type Color struct + func New() (c *Color) + func (c *Color) Black(msg interface{}, styles ...string) string + func (c *Color) BlackBg(msg interface{}, styles ...string) string + func (c *Color) Blue(msg interface{}, styles ...string) string + func (c *Color) BlueBg(msg interface{}, styles ...string) string + func (c *Color) Bold(msg interface{}, styles ...string) string + func (c *Color) Cyan(msg interface{}, styles ...string) string + func (c *Color) CyanBg(msg interface{}, styles ...string) string + func (c *Color) Dim(msg interface{}, styles ...string) string + func (c *Color) Disable() + func (c *Color) Enable() + func (c *Color) Green(msg interface{}, styles ...string) string + func (c *Color) GreenBg(msg interface{}, styles ...string) string + func (c *Color) Grey(msg interface{}, styles ...string) string + func (c *Color) Hidden(msg interface{}, styles ...string) string + func (c *Color) Inverse(msg interface{}, styles ...string) string + func (c *Color) Italic(msg interface{}, styles ...string) string + func (c *Color) Magenta(msg interface{}, styles ...string) string + func (c *Color) MagentaBg(msg interface{}, styles ...string) string + func (c *Color) Output() io.Writer + func (c *Color) Print(args ...interface{}) + func (c *Color) Printf(format string, args ...interface{}) + func (c *Color) Println(args ...interface{}) + func (c *Color) Red(msg interface{}, styles ...string) string + func (c *Color) RedBg(msg interface{}, styles ...string) string + func (c *Color) Reset(msg interface{}, styles ...string) string + func (c *Color) SetOutput(w io.Writer) + func (c *Color) Strikeout(msg interface{}, styles ...string) string + func (c *Color) Underline(msg interface{}, styles ...string) string + func (c *Color) White(msg interface{}, styles ...string) string + func (c *Color) WhiteBg(msg interface{}, styles ...string) string + func (c *Color) Yellow(msg interface{}, styles ...string) string + func (c *Color) YellowBg(msg interface{}, styles ...string) string + type Logger interface + Critical func(msg interface{}) + Criticalf func(error string, msg ...interface{}) + Custom func(msg string) + Debug func(msg interface{}) + Debugf func(error string, msg ...interface{}) + Error func(msg interface{}) + Errorf func(error string, msg ...interface{}) + Info func(msg interface{}) + Infof func(error string, msg ...interface{}) + IsLogger func(isOk bool) + SetLevel func(level uint8) + SetOut func(out io.Writer) + Warn func(msg interface{}) + Warnf func(error string, msg ...interface{}) + func LogCreator() Logger