Documentation
¶
Index ¶
- type File
- func (f *File) Close() error
- func (f *File) Init(ctx context.Context, name string, cfg map[string]interface{}, ...) error
- func (f *File) String() string
- func (f *File) Write(ctx context.Context, rsp proto.Message, meta outputs.Meta)
- func (f *File) WriteEvent(ctx context.Context, ev *formatters.EventMsg)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
outputs.BaseOutput
// contains filtered or unexported fields
}
File //
func (*File) Init ¶
func (f *File) Init(ctx context.Context, name string, cfg map[string]interface{}, opts ...outputs.Option) error
Init //
func (*File) WriteEvent ¶
func (f *File) WriteEvent(ctx context.Context, ev *formatters.EventMsg)
Click to show internal directories.
Click to hide internal directories.