Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Write ¶
type Write struct { Condition string `mapstructure:"condition,omitempty"` Tags []string `mapstructure:"tags,omitempty" json:"tags,omitempty"` Values []string `mapstructure:"values,omitempty" json:"values,omitempty"` TagNames []string `mapstructure:"tag-names,omitempty" json:"tag-names,omitempty"` ValueNames []string `mapstructure:"value-names,omitempty" json:"value-names,omitempty"` Dst string `mapstructure:"dst,omitempty" json:"dst,omitempty"` Separator string `mapstructure:"separator,omitempty" json:"separator,omitempty"` Indent string `mapstructure:"indent,omitempty" json:"indent,omitempty"` Debug bool `mapstructure:"debug,omitempty" json:"debug,omitempty"` // contains filtered or unexported fields }
func (*Write) Apply ¶
func (p *Write) Apply(es ...*formatters.EventMsg) []*formatters.EventMsg
func (*Write) WithLogger ¶ added in v0.9.1
func (*Write) WithTargets ¶ added in v0.12.2
func (p *Write) WithTargets(tcs map[string]*types.TargetConfig)
Click to show internal directories.
Click to hide internal directories.