Help us shape the future of Go! Take the 2026 Go Developer Survey

logs

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package logs is the native Logs area: the server log buffer as a table with level and text filters, auto-scroll and a detail panel. It mirrors web-ui/src/components/logs (which polls GET /api/v1/logs every 5 s).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type View

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

View is the logs area.

func New

func New(a *app.Context) *View

New returns the logs view and starts its poller.

func (*View) Build

func (v *View) Build(c *ui.Context, r *ui.Route)

Build implements app.View.

func (*View) Refresh

func (v *View) Refresh(ctx context.Context)

Refresh reloads the last 200 entries.

Jump to

Keyboard shortcuts

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