Versions in this module Expand all Collapse all v1 v1.12.0 May 21, 2021 Changes in this version + const Black + const Blue + const Brown + const Cyan + const DarkBlue + const DarkCyan + const DarkGray + const DarkGreen + const DarkMagenta + const DarkRed + const Default + const Gray + const Green + const Magenta + const Red + const White + const Yellow + func IsConsole(w io.Writer) bool — windows/amd64 + func IsMSYSTerminal(w io.Writer) bool — windows/amd64 + func IsTerminal(w io.Writer) bool + func NewColorLogger(w io.Writer, newLogger func(io.Writer) log.Logger, ...) log.Logger + func NewColorWriter(w io.Writer) io.Writer + func NewLogger(w io.Writer, newLogger func(io.Writer) log.Logger, ...) log.Logger + type Color uint8 + type FgBgColor struct + Bg Color + Fg Color