feat: add writing log

This commit is contained in:
2026-11-07 23:46:02 +01:00
parent 98fec70038
commit 9ae7ea1f1c
+1
View File
@@ -52,6 +52,7 @@ class Generator:
try:
self.target_path.parent.mkdir(parents=True, exist_ok=True)
self.target_path.write_text(content)
self.log.info("Wrote output to %s", self.target_path)
except OSError as e:
self.log.error(
"Could not write output file at: %s (%s)", self.target_path, e