tui-logger
Logger and Widget for rust's ratatui crate
Learn how to toggle the visibility of tui-logger targets with filters set to Off using the Space key. Easily manage your log output for better debugging.
How to Focus the tui-logger Widget on a Specific Target Using the 'f' KeyLearn to focus the tui-logger widget on a specific target using the f key command. Isolate and highlight targets for better log visibility and debugging in your terminal applications.
EWIDT Display Format in tui-logger: Interpreting the Target SelectorUnderstand the EWIDT display format in tui-logger. Learn how to interpret Error, Warn, Info, Debug, and Trace log levels in the target selector to control your logs.
How to Use tui-logger with the log Crate and env_logger as FormatterLearn to use tui-logger with the Rust log crate and env_logger formatter. Integrate effortlessly by wrapping env_logger's formatting logic into tui-logger's circular buffers for enhanced logging.
What Happens to Log Messages That Exceed Circular Buffer Capacity in tui-logger Versions Before 0.13Discover what happens to log messages exceeding circular buffer capacity in tui-logger before version 0.13. Learn about silent overwrites and lost data.
How to Programmatically Configure Different Log Levels for Different Targets in tui-loggerLearn to programmatically configure different log levels for specific targets in tui-logger. Control log capture and UI display with set_level_for_target for efficient debugging.
How to Use TuiLoggerWidget Instead of the Smart Widget in tui-loggerLearn to use TuiLoggerWidget instead of the smart widget in tui-logger. Instantiate TuiLoggerWidget directly and configure it for custom styling and output formatting in your ratatui app.
Understanding the Performance Impact of move_events() in tui-loggerExplore the performance impact of move_events() in tui-logger. Learn how this O(N) function runs in a background thread to maintain zero blocking on your main logging path.
How the transition() Function Maps Keyboard Events to Widget State in tui-loggerDiscover how tui-logger's transition() function maps keyboard events to widget state changes, updating flags, indexes, and log levels.
How to Hide or Show the Target Selector Widget at Runtime in tui-loggerControl the target selector widget in tui-logger at runtime. Learn how to hide or show the widget by flipping the internal hide target boolean flag using the HideKey event.
How to Configure Hot and Main Buffer Depths for High-Throughput Logging in tui-loggerConfigure hot and main buffer depths in tui-logger before init. Prevent message loss during high-volume logging by resizing circular buffers with set_hot_buffer_depth and set_buffer_depth.
Page Mode Scrolling in the tui-logger Smart Widget: Timestamp-Referenced Navigation ExplainedMaster page mode scrolling in tui-logger's smart widget. Discover stable timestamp-referenced navigation using LinePointer for efficient log history exploration.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →