event_override_ts

package
v0.20.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL