Skip to main content

Crate smartlog

Crate smartlog 

Source
Expand description

SmartLog - A terminal UI for viewing and filtering JSON logs in real-time.

This library provides the core functionality for parsing, filtering, and displaying JSON and plain text logs in a terminal interface.

Modulesยง

app
Application state management and core logic.
config
Configuration constants for SmartLog.
event_loop
Main application event loop.
inputs
Keyboard input handling for the application.
layout
Layout measurement helpers shared between input handling and UI rendering.
parser
Log parsing and styling utilities.
sources
Async log input sources: stdin, file tailing, and mock generator.
terminal
Terminal setup and restoration utilities.
theme
Color theme definitions for the terminal UI.
ui
Terminal UI rendering.