LogControl is a high-performance scrolling log viewer intended for “tail-like” workloads (frequent appends).
It supports selection + copy, a maximum retained capacity, optional wrapping, and built-in search UI.
Screenshot:
site/img/logcontrol.png(placeholder)
PageUp/PageDown, Home/End.Ctrl+A selects allCtrl+C copies the selection to the terminal clipboardCtrl+F) with:
var log = new LogControl
{
MaxCapacity = 2000,
}.WrapText(true);
log.AppendLine("Starting…");
log.AppendMarkupLine("[green]✔[/] Ready");
Press Ctrl+F while the control is focused to open the search popup. Matches are highlighted in the log view.
Use Alt+Arrow to move the popup.
You can also drive search programmatically:
log.Search("error");
log.GoToNextMatch();
HorizontalAlignment = Align.Stretch, VerticalAlignment = Align.StretchUse LogControlStyle and LogControlSearchStyle to customize colors and rendering:
log.Style(LogControlStyle.Default with
{
Padding = new Thickness(1, 0, 1, 0),
});
Note:
WrapTextis a control property (not a style) so you can toggle it dynamically without cloning styles.