Documentation ¶
Index ¶
- func WrapString(str string, width int) string
- type LogEntry
- type LogFilter
- type LogFormat
- type LogPipeline
- func (lp *LogPipeline) Reset()
- func (lp *LogPipeline) Run(l *LogEntry) error
- func (lp *LogPipeline) RunFilterChanged(l *LogEntry) error
- func (lp *LogPipeline) RunReturnedFieldsChanged(l *LogEntry) error
- func (lp *LogPipeline) RunViewChanged(l *LogEntry) error
- func (lp *LogPipeline) RunWidthChanged(l *LogEntry) error
- func (lp *LogPipeline) SetFilter(filter string) error
- func (lp *LogPipeline) SetReturnedFields(fields []string) error
- func (lp *LogPipeline) SetTransforms(transforms []config.Transform) error
- func (lp *LogPipeline) SetView(view *config.View) error
- func (lp *LogPipeline) SetWidth(width uint) error
- type LogTransform
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapString ¶
Types ¶
type LogFormat ¶
func (*LogFormat) RunReturnedFieldsAndFormat ¶
type LogPipeline ¶
type LogPipeline struct { Pipeline []func(*LogEntry) error Cfg *config.View // contains filtered or unexported fields }
func (*LogPipeline) Reset ¶
func (lp *LogPipeline) Reset()
func (*LogPipeline) Run ¶
func (lp *LogPipeline) Run(l *LogEntry) error
func (*LogPipeline) RunFilterChanged ¶
func (lp *LogPipeline) RunFilterChanged(l *LogEntry) error
func (*LogPipeline) RunReturnedFieldsChanged ¶
func (lp *LogPipeline) RunReturnedFieldsChanged(l *LogEntry) error
func (*LogPipeline) RunViewChanged ¶
func (lp *LogPipeline) RunViewChanged(l *LogEntry) error
func (*LogPipeline) RunWidthChanged ¶
func (lp *LogPipeline) RunWidthChanged(l *LogEntry) error
func (*LogPipeline) SetFilter ¶
func (lp *LogPipeline) SetFilter(filter string) error
func (*LogPipeline) SetReturnedFields ¶
func (lp *LogPipeline) SetReturnedFields(fields []string) error
func (*LogPipeline) SetTransforms ¶
func (lp *LogPipeline) SetTransforms(transforms []config.Transform) error
func (*LogPipeline) SetWidth ¶
func (lp *LogPipeline) SetWidth(width uint) error
type LogTransform ¶
func (*LogTransform) RunTransform ¶
func (lt *LogTransform) RunTransform(l *LogEntry) error
Click to show internal directories.
Click to hide internal directories.