PenningtonTuiOptions Pennington.Tui
Configures the dev-time TUI dashboard.
Properties
FileChangeDebounceSystem.TimeSpan- Default:
TimeSpan.FromMilliseconds(500)Debounce window between a file change and the table-of-contents refresh. Kept separate fromLiveReloadServer's 300ms debounce so the two subscribers don't collide. LogBufferSizeint- Default:
500Maximum lines retained in the Main tab's Logs panel ring buffer. LogMinLevelLogLevel- Default:
LogLevel.InformationMinimumLogLevelto surface in the Logs panel. RequestBufferSizeint- Default:
200Maximum entries retained in the Main tab's Requests panel ring buffer.
Pennington.Tui.PenningtonTuiOptions
namespace Pennington.Tui;
/// Configures the dev-time TUI dashboard.
public class PenningtonTuiOptions
{
/// Debounce window between a file change and the table-of-contents refresh. Kept separate from LiveReloadServer's 300ms debounce so the two subscribers don't collide.
public TimeSpan FileChangeDebounce { get; set; } = TimeSpan.FromMilliseconds(500);
/// Maximum lines retained in the Main tab's Logs panel ring buffer.
public int LogBufferSize { get; set; } = 500;
/// Minimum LogLevel to surface in the Logs panel.
public LogLevel LogMinLevel { get; set; } = LogLevel.Information;
/// Maximum entries retained in the Main tab's Requests panel ring buffer.
public int RequestBufferSize { get; set; } = 200;
}