Documentation ¶
Overview ¶
Package console implements a development-friendly textual handler for apex.
This was originally forked from https://github.com/apex/log/blob/f0aad53/handlers/text/text.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Colors = [...]string{ log.DebugLevel: grayAndItalic, log.InfoLevel: blue, log.WarnLevel: yellow, log.ErrorLevel: red, log.FatalLevel: red, }
Colors mapping.
View Source
var Default = New(os.Stderr, "")
Default handler outputting to stderr.
View Source
var MessageColor = grayAndItalic
View Source
var PrefixColor = grayAndItalic
View Source
var Strings = [...]string{ log.DebugLevel: "DEBUG", log.InfoLevel: "INFO", log.WarnLevel: "WARN", log.ErrorLevel: "ERROR", log.FatalLevel: "FATAL", }
Strings mapping.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.