const red …
const yellow …
const blue …
const gray …
var baseTimestamp …
func init() { … }
type TextFormatter …
func (f *TextFormatter) init(entry *Entry) { … }
func (f *TextFormatter) isColored() bool { … }
func (f *TextFormatter) Format(entry *Entry) ([]byte, error) { … }
func (f *TextFormatter) printColored(b *bytes.Buffer, entry *Entry, keys []string, data Fields, timestampFormat string) { … }
func (f *TextFormatter) needsQuoting(text string) bool { … }
func (f *TextFormatter) appendKeyValue(b *bytes.Buffer, key string, value interface{ … }
func (f *TextFormatter) appendValue(b *bytes.Buffer, value interface{ … }