Expand description
Log Query and Management Module
Provides functionality to query, filter, and display application logs.
Structs§
Functions§
- follow_
logs - Follow logs in real-time (like tail -f)
- format_
entry_ json - Format log entry as JSON
- format_
entry_ text - Format log entry as text
- list_
log_ files - List all available log files
- log_dir
- Get log directory path
- log_
file_ for_ mode - Get log file path for a specific mode
- parse_
duration - Parse duration string like “1h”, “24h”, “7d”
- parse_
log_ line - Parse a log line into a LogEntry
- query_
logs - Query logs based on filter criteria