package
0.0.0-20240817140251-aa2fb5bc486d
Repository: https://github.com/diamondburned/gotkit.git
Documentation: pkg.go.dev

# Functions

DefaultLogHandler returns the default log handler.
MultiHandler creates a slog.Handler that duplicates its writes to all the provided handlers, similar to the Unix tee(1) command.
NewDefaultViewer creates a new viewer on the default buffer.
NewLogHandler creates a new LogHandler with the given options.
NewViewer creates a new log viewer dialog.
RecordsToString returns a string representation of the given log records.
SetDefaultLevel sets the default level for the default log handler.
SetLogger sets the default slog.Logger to the given logger.
ShowDefaultViewer calls NewDefaultViewer then Show.
WrapLogger wraps the given logger with the default logui's log handler.

# Variables

No description provided by the author

# Structs

LogHandler is a slog.Handler that stores logs in a list model.
Viewer is a TextView dialog that views a particular log buffer in real time.