Versions in this module Expand all Collapse all v3 v3.6.4 Dec 3, 2021 v3.6.3 Dec 3, 2021 Changes in this version + var Blue = color.New(color.FgBlue) + var BlueBold = color.New(color.Bold, color.FgBlue) + var Cyan = color.New(color.FgCyan) + var Green = color.New(color.FgGreen) + var Magenta = color.New(color.FgMagenta) + var MagentaBold = color.New(color.Bold, color.FgMagenta) + var Red = color.New(color.FgRed) + var RedBold = color.New(color.Bold, color.FgRed) + var White = color.New(color.FgWhite) + var Yellow = color.New(color.FgYellow) + var YellowBold = color.New(color.Bold, color.FgYellow) + type CustomLogger interface + Printf func(string, ...interface{}) + Writer func() io.Writer + type Level int + const Error + const Info + const Silent + const Warn + type Logger interface + Error func(context.Context, string, ...interface{}) + Info func(context.Context, string, ...interface{}) + SetLevel func(Level) + Warn func(context.Context, string, ...interface{}) + func NewLogger(customLogger CustomLogger, level Level, colorful bool) Logger