maurane
0c097974b7
test(parser): ✅ refactor initial test, add new tests and fixtures
2026-08-04 11:33:54 +02:00
maurane
83867c585c
feat(parser): ✨ add parse_log_file and simplify LogEntry model
...
`parse_log_file()` use `parse_log_line()` to transform a log file into a list of LogEntry. Log patterns are no use for LogEntry model since the only use of LogEntry is in other modules. Thus, log patterns are now in `parser.py`. Logs are now separated based on test use cases.
2026-08-04 11:31:37 +02:00
maurane
36195ace3b
test(parser): add test for parse_log_line()
2026-08-03 14:12:52 +02:00
maurane
e057ec58e1
refactor(parser): change parser() by parse_log_line() function
2026-08-03 14:08:16 +02:00
maurane
6951454b8a
chore(projet_settings): update the vscode project settings
2026-08-03 13:59:09 +02:00
maurane
7df7afed22
fix(parser): 🐛 update the file_path value in _get_logs()
2026-08-03 13:57:47 +02:00
maurane
b8c8af6dda
chore(log_entry): add getters for datetime attributes
2026-08-03 13:40:16 +02:00
maurane
10602be7a3
feat(log_entry): add model and tests
2026-08-03 13:30:03 +02:00
maurane
63893513ee
test(logging); add tests for setup_handler and setup_formatter function
2026-07-29 19:42:52 +02:00
maurane
d02887f164
feat(logging): add logging setup
2026-07-29 15:28:38 +02:00
maurane
6977a69cdc
chore: initialise logwatcher project
2026-07-29 13:35:21 +02:00