Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Enabled specifies that a feature is enabled. Enabled = true // Disabled specifies that a feature is disabled. Disabled = false // DefaultTimeFormat is the default time format used by the sink. DefaultTimeFormat = event.HumanTimeFormat )
Functions ¶
func NewChanWriterAt ¶
NewChanWriterAt ...
Types ¶
type Config ¶
type Config struct {
AutoResize *bool `yaml:"auto_resize,omitempty"`
Color *bool `yaml:"color,omitempty"`
Columns []string `yaml:"columns,omitempty"`
ConsistentColors *bool `yaml:"consistent_colors,omitempty"`
Expand *bool `yaml:"expand,omitempty"`
Highlight *bool `yaml:"highlight,omitempty"`
MultiLine *bool `yaml:"multi_line,omitempty"`
LevelMeter *bool `yaml:"level_meter,omitempty"`
Theme *theme2.Theme `yaml:"theme,omitempty"`
Layout *layout.Layout `yaml:"-"`
TimeFormat *string `yaml:"time_format,omitempty"`
TTY bool `yaml:"-"`
Width *uint `yaml:"width,omitempty"`
Wrap *bool `yaml:"wrap,omitempty"`
Out *os.File `yaml:"-"`
}
Config ...
func DefaultConfig ¶ added in v1.3.7
func DefaultConfig() Config
DefaultConfig returns default configuration for the sink.
func (*Config) EffectiveTerminalWidth ¶
EffectiveTerminalWidth ...
func (*Config) PopulateMissing ¶ added in v1.1.0
PopulateMissing ...
Click to show internal directories.
Click to hide internal directories.