Initialize logger Logs are stored in ~/.mini-agent/log/ directory
(self)
| 17 | """ |
| 18 | |
| 19 | def __init__(self): |
| 20 | """Initialize logger |
| 21 | |
| 22 | Logs are stored in ~/.mini-agent/log/ directory |
| 23 | """ |
| 24 | # Use ~/.mini-agent/log/ directory for logs |
| 25 | self.log_dir = Path.home() / ".mini-agent" / "log" |
| 26 | self.log_dir.mkdir(parents=True, exist_ok=True) |
| 27 | self.log_file = None |
| 28 | self.log_index = 0 |
| 29 | |
| 30 | def start_new_run(self): |
| 31 | """Start new run, create new log file""" |
nothing calls this directly
no outgoing calls
no test coverage detected