logger

package
v0.48.0-dev2 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2025 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	Store types.Store
	// contains filtered or unexported fields
}

func New

func New(statusRecorder *peer.Status, wgIfaceIPNet netip.Prefix) *Logger

func (*Logger) Close

func (l *Logger) Close()

func (*Logger) DeleteEvents

func (l *Logger) DeleteEvents(ids []uuid.UUID)

func (*Logger) Enable

func (l *Logger) Enable()

func (*Logger) GetEvents

func (l *Logger) GetEvents() []*types.Event

func (*Logger) StoreEvent

func (l *Logger) StoreEvent(flowEvent types.EventFields)

func (*Logger) UpdateConfig

func (l *Logger) UpdateConfig(dnsCollection, exitNodeCollection bool)

Jump to

Keyboard shortcuts

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