Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileOutput ¶
type FileOutput struct { helper.OutputOperator // contains filtered or unexported fields }
FileOutput is an operator that writes logs to a file.
type FileOutputConfig ¶
type FileOutputConfig struct { helper.OutputConfig `yaml:",inline"` Path string `json:"path" yaml:"path"` Format string `json:"format,omitempty" path:"format,omitempty"` }
FileOutputConfig is the configuration of a file output operatorn.
func NewFileOutputConfig ¶
func NewFileOutputConfig(operatorID string) *FileOutputConfig
NewFileOutputConfig creates a new file output config with default values
func (FileOutputConfig) Build ¶
func (c FileOutputConfig) Build(context operator.BuildContext) ([]operator.Operator, error)
Build will build a file output operator.
Click to show internal directories.
Click to hide internal directories.