Documentation ¶
Overview ¶
Hints are used while the processing of events and can adjust the behaviour how stuff is processed/handled. Hints are always optional.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColorMode ¶ added in v0.20.0
type ColorMode interface { Hints // ColorMode returns the desired color.Mode. ColorMode() color.Mode }
ColorMode are Hints that provide the information how something should be colorized.
type ColorsSupport ¶
type ColorsSupport interface { Hints // IsColorSupported returns if color is supported and how. IsColorSupported() color.Supported }
ColorsSupport are Hints that provide the information if color is supported.
type Hints ¶
type Hints interface{}
Hints are used while the processing of events and can adjust the behaviour how stuff is processed/handled. Hints are always optional.
type LevelColorizer ¶ added in v0.20.0
type LevelColorizer interface { Hints // ColorMode returns the desired level.Colorizer. LevelColorizer() level.Colorizer }
LevelColorizer are Hints that provides an assigned level.Colorizer.
Click to show internal directories.
Click to hide internal directories.