logs

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

type Processor struct {
	plog.JSONMarshaler
	plog.JSONUnmarshaler
	// contains filtered or unexported fields
}

func NewProcessor

func NewProcessor(ctx context.Context, logger *zap.Logger,
	code, entry string, consumer consumer.Logs) *Processor

func (*Processor) Capabilities

func (p *Processor) Capabilities() consumer.Capabilities

func (*Processor) ConsumeLogs

func (p *Processor) ConsumeLogs(ctx context.Context, ld plog.Logs) error

func (*Processor) Shutdown

func (p *Processor) Shutdown(context.Context) error

func (*Processor) Start

func (p *Processor) Start(ctx context.Context, _ component.Host) error

Jump to

Keyboard shortcuts

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