fix: lifecycle-safe logger teardown without global state

Store file handle per module, swap lifecycle logger before closing file,
return teardown errors, remove duplicate Module() func.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
endandCursor committed 2026-06-29 18:01:08 -07:00
1 parent 7fcb19ad49
commit 626e1bb5ac
9 files changed
+258 -149

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
coverage.out
coverage.html
*.test