Expand description
Action logging with pattern-based filtering
Provides configurable action logging using glob patterns to include/exclude specific actions from logs.
§Example
ⓘ
use tui_dispatch_core::debug::{ActionLoggerConfig, ActionLoggerMiddleware};
// Log all actions except Tick and Render
let config = ActionLoggerConfig::default();
// Log only Search* and Connect* actions
let config = ActionLoggerConfig::new(Some("Search*,Connect*"), None);
// Log Did* actions but exclude DidFail*
let config = ActionLoggerConfig::new(Some("Did*"), Some("DidFail*"));
let middleware = ActionLoggerMiddleware::new(config);Structs§
- Action
Logger Config - Configuration for action logging with glob pattern filtering.
- Action
Logger Middleware - Middleware that logs actions with configurable pattern filtering.
Functions§
- glob_
match - Simple glob pattern matching supporting
*and?.