logview

command
v0.2.24 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package main demonstrates the LogViewer component streaming fake logs at 50 Hz.

Fake log lines are generated from a background goroutine across four levels (debug, info, warn, error). Use the keybindings below to interact:

p       — pause / resume auto-scroll
c       — clear all log lines
/       — enter substring filter (Enter/Esc to confirm/cancel)
l       — cycle minimum level filter (debug+ → info+ → warn+ → error)
end     — jump to latest (also resumes auto-scroll)
up/k    — scroll up (pauses auto-scroll)
down/j  — scroll down
q       — quit

Jump to

Keyboard shortcuts

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