jwalterweatherman
jwalterweatherman copied to clipboard
add colored output
Adds colored output to stdout. Doesn't support file-loggers atm (you'll get this [[90mDEBUG[0m] debug.go:16: DEBUG
, I don't know how to use the old prefixes when writing to a file)
Exposes a method notepad.UseColor()
, UseColor()
and a parameter in NewNotepad
.
With colors:
Also exposes the colors so people can use them in their messages, if they wish. (jww.DebugColor.Println("color")
)
Hey @spf13, care to check out this PR?