Check Emsenn’s Latest Logs
Workflow
- Locate log entries in log.
- Select the latest entries by filename date (YYYYMMDD prefix).
- Default to 1 entry when N is not provided.
- For
--compact, output only the YAML frontmatter if present. - Otherwise, output full log entries.
Script
Use scripts/check_logs.py for deterministic selection and output.
Examples:
python scripts/check_logs.py
python scripts/check_logs.py --count 3
python scripts/check_logs.py --compact
python scripts/check_logs.py --count 2 --compact