Documentation ¶
Overview ¶
Package logutil GENERATED BY gengo:enum DON'T EDIT THIS FILE
Package logutil GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Attribute ¶
type Attribute int
const ( Reset Attribute = iota Bold Faint Italic Underline BlinkSlow BlinkRapid ReverseVideo Concealed CrossedOut )
Base attributes
Foreground text colors
const ( FgHiBlack Attribute = iota + 90 FgHiRed FgHiGreen FgHiYellow FgHiBlue FgHiMagenta FgHiCyan FgHiWhite )
Foreground Hi-Intensity text colors
Background text colors
type Logger ¶
type Logger struct { // Log level LogLevel LogLevel `flag:",omitempty"` // contains filtered or unexported fields }
func (*Logger) SetDefaults ¶
func (o *Logger) SetDefaults()
Click to show internal directories.
Click to hide internal directories.