Create a command-line tool /app/logq that parses a custom log format and answers timestamp-range queries…
Create a command-line tool /app/logq that parses a custom log format and answers timestamp-range queries…: a task in termgrade-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). Input format (read from files passed as arguments): Each line…
The task
**Input format** (read from files passed as arguments): Each line is a log entry in this exact format: ``` [<timestamp>] <level> <message> ``` - `<timestamp>`: ISO-8601 with timezone offset, e.g., `2025-03-12T14:32:01.123+05:30`. Fractional seconds are optional (0-6 digits). Timezone offset can be `Z` or `±HH:MM` or…