1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-14 22:15:09 +00:00

feat: optimize log system and add mo log command

- Add get_timestamp() helper and optimize log rotation
- Create mo log viewer with search/filter capabilities
- Improve test coverage to 18.4% with better assertions
- Add security fixes for grep injection prevention
This commit is contained in:
tw93
2026-01-28 19:46:01 +08:00
parent f815a5f28c
commit 64f79a59d8
6 changed files with 385 additions and 45 deletions

5
.gitignore vendored
View File

@@ -69,5 +69,10 @@ tests/tmp-*/
tests/*.tmp
tests/*.log
# Go test coverage files
*.out
coverage.out
coverage.html
session.json
run_tests.ps1