plugin_logger

package
v1.26.7 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build() fx.Option

Types

type LogStream

type LogStream struct {
	Lines <-chan string
	Done  <-chan struct{}
}

type Reader

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

func (*Reader) StreamPluginLogs

func (r *Reader) StreamPluginLogs(ctx context.Context, pluginID plugin.InstallationID) (*LogStream, error)

type RotatingWriter

type RotatingWriter struct {
	Rotator *lumberjack.Logger
}

func (*RotatingWriter) Write

func (w *RotatingWriter) Write(p []byte) (n int, err error)

type Writer

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

func (*Writer) NewWriter

func (w *Writer) NewWriter(pluginID plugin.InstallationID) (*RotatingWriter, error)

Jump to

Keyboard shortcuts

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