logfilewriter

package
v0.1.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupOutputWriter

func SetupOutputWriter(p Params, name string) (io.Writer, error)

SetupOutputWriter creates a writer that will be used to write human readable output to a temporary file for reference by the user. This is meant for use in cases where a given plugin may wish to collect its own specific output that is independent of overall server logging. The file path will be stored in the server info file for reference by the IDE.

Types

type Params

type Params struct {
	FS             fs.UlspFS
	Lifecycle      fx.Lifecycle
	ServerInfoFile serverinfofile.ServerInfoFile
}

Params define the dependencies for SetupOutputWriter.

Jump to

Keyboard shortcuts

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