logfile

package
v1.42.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSink

func NewSink(logger *zap.Logger, path string) (audit.Sink, error)

NewSink is the constructor for a Sink.

Types

type Sink

type Sink struct {
	// contains filtered or unexported fields
}

Sink is the structure in charge of sending Audits to a specified file location.

func (*Sink) Close

func (l *Sink) Close() error

func (*Sink) SendAudits

func (l *Sink) SendAudits(ctx context.Context, events []audit.Event) error

func (*Sink) String

func (l *Sink) String() string

Jump to

Keyboard shortcuts

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