Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OverrideTS ¶
type OverrideTS struct { Precision string `mapstructure:"precision,omitempty" json:"precision,omitempty"` Debug bool `mapstructure:"debug,omitempty" json:"debug,omitempty"` // contains filtered or unexported fields }
OverrideTS Overrides the message timestamp with the local time
func (*OverrideTS) Apply ¶
func (o *OverrideTS) Apply(es ...*formatters.EventMsg) []*formatters.EventMsg
func (*OverrideTS) Init ¶
func (o *OverrideTS) Init(cfg interface{}, opts ...formatters.Option) error
func (*OverrideTS) WithLogger ¶ added in v0.9.1
func (o *OverrideTS) WithLogger(l *log.Logger)
func (*OverrideTS) WithTargets ¶ added in v0.14.1
func (o *OverrideTS) WithTargets(tcs map[string]*types.TargetConfig)
Click to show internal directories.
Click to hide internal directories.